Skip to content

Commit eb0d5dd

Browse files
committed
ConvexShape now scales its points;
1 parent c65822d commit eb0d5dd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

api/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38345,7 +38345,7 @@ return {
3834538345
description = "Returns one of the points in the convex hull, in local space.",
3834638346
key = "ConvexShape:getPoint",
3834738347
module = "lovr.physics",
38348-
notes = "Currently, the point positions do not include the scale of the convex shape.",
38348+
notes = "The point positions will be scaled by the ConvexShape's scale, see `ConvexShape:getScale`.",
3834938349
related = {
3835038350
"ConvexShape:getPointCount"
3835138351
},

api/lovr/physics/ConvexShape/getPoint.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ return {
2727
returns = { 'x', 'y', 'z' }
2828
}
2929
},
30-
notes = 'Currently, the point positions do not include the scale of the convex shape.',
30+
notes = [[
31+
The point positions will be scaled by the ConvexShape's scale, see `ConvexShape:getScale`.
32+
]],
3133
related = {
3234
'ConvexShape:getPointCount'
3335
}

0 commit comments

Comments
 (0)