mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add rigidbody.is_grounded
This commit is contained in:
parent
f4653878a2
commit
371acf0008
2 changed files with 9 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ local Rigidbody = {__index={
|
|||
set_gravity_scale=function(self, s) return __rigidbody.set_gravity_scale(self.eid, s) end,
|
||||
is_vdamping=function(self) return __rigidbody.is_vdamping(self.eid) end,
|
||||
set_vdamping=function(self, b) return __rigidbody.set_vdamping(self.eid, b) end,
|
||||
is_grounded=function(self) return __rigidbody.is_grounded(self.eid) end,
|
||||
}}
|
||||
|
||||
local function new_Rigidbody(eid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue