Browse Source

Fix getLinearVelocityuFromLocalPoint type;

bjorn 7 months ago
parent
commit
6fe3c1fc49
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/physics/Collider/getLinearVelocityFromLocalPoint.lua

+ 1 - 1
api/init.lua

@@ -35530,7 +35530,7 @@ return {
                   arguments = {
                     {
                       name = "point",
-                      type = "number",
+                      type = "Vec3",
                       description = "The local-space point."
                     }
                   },

+ 1 - 1
api/lovr/physics/Collider/getLinearVelocityFromLocalPoint.lua

@@ -18,7 +18,7 @@ return {
       description = 'The z position in local space.'
     },
     point = {
-      type = 'number',
+      type = 'Vec3',
       description = 'The local-space point.'
     }
   },