diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-07 20:31:46 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-07 20:31:46 +0800 |
commit | 85d497ac617dcb629b991defc23540e9bfa34cbc (patch) | |
tree | 13a6f56fe09de0163ff94506c392e5d07de03f53 /meta/3rd/lovr/library/lovr.physics.lua | |
parent | 67815046d2345924123d290e2b0c01fb15a9a6bb (diff) | |
download | lua-language-server-85d497ac617dcb629b991defc23540e9bfa34cbc.zip |
build 3rd metas
Diffstat (limited to 'meta/3rd/lovr/library/lovr.physics.lua')
-rw-r--r-- | meta/3rd/lovr/library/lovr.physics.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/3rd/lovr/library/lovr.physics.lua b/meta/3rd/lovr/library/lovr.physics.lua index d081d2f4..3373ceba 100644 --- a/meta/3rd/lovr/library/lovr.physics.lua +++ b/meta/3rd/lovr/library/lovr.physics.lua @@ -292,7 +292,7 @@ function Collider:applyForce(x, y, z) end --- --- ---### NOTE: ----If the Collider is asleep, it will need to be woken up with `Collider:setAwake` for this function to have any affect. +---If the Collider is asleep, it will need to be woken up with `Collider:setAwake` for this function to have any effect. --- ---@param x number # The x component of the torque. ---@param y number # The y component of the torque. @@ -1253,13 +1253,13 @@ local SphereShape = {} ---Returns the radius of the SphereShape. --- ---@return number radius # The radius of the sphere, in meters. -function SphereShape:getDimensions() end +function SphereShape:getRadius() end --- ---Sets the radius of the SphereShape. --- ---@param radius number # The radius of the sphere, in meters. -function SphereShape:setDimensions(radius) end +function SphereShape:setRadius(radius) end --- ---A World is an object that holds the colliders, joints, and shapes in a physics simulation. @@ -1524,7 +1524,7 @@ function World:newSphereCollider(x, y, z, radius) end --- ---Returns an iterator that can be used to iterate over "overlaps", or potential collisions between pairs of shapes in the World. --- ----This should be called after using `World:detectOverlaps` to compute the list of overlaps. Usually this is called automatically by `World:update`. +---This should be called after using `World:computeOverlaps` to compute the list of overlaps. Usually this is called automatically by `World:update`. --- ---@return function iterator # A Lua iterator, usable in a for loop. function World:overlaps() end |