瀏覽代碼

Clarify that ConvexShape points do not include scale;

bjorn 6 月之前
父節點
當前提交
87730ddb2a
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      api/init.lua
  2. 1 0
      api/lovr/physics/ConvexShape/getPoint.lua

+ 1 - 0
api/init.lua

@@ -38161,6 +38161,7 @@ return {
               description = "Returns one of the points in the convex hull, in local space.",
               key = "ConvexShape:getPoint",
               module = "lovr.physics",
+              notes = "Currently, the point positions do not include the scale of the convex shape.",
               related = {
                 "ConvexShape:getPointCount"
               },

+ 1 - 0
api/lovr/physics/ConvexShape/getPoint.lua

@@ -27,6 +27,7 @@ return {
       returns = { 'x', 'y', 'z' }
     }
   },
+  notes = 'Currently, the point positions do not include the scale of the convex shape.',
   related = {
     'ConvexShape:getPointCount'
   }