瀏覽代碼

Fix getLinearVelocityuFromLocalPoint type;

bjorn 10 月之前
父節點
當前提交
6fe3c1fc49
共有 2 個文件被更改,包括 2 次插入2 次删除
  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.'
     }
   },