mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add entity.rigidbody.get_ground_vel
This commit is contained in:
parent
3ab5095583
commit
1fb0eb762d
2 changed files with 10 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ local Rigidbody = {__index={
|
|||
get_elasticity=function(self) return __rigidbody.get_elasticity(self.eid) end,
|
||||
set_mass=function(self, v) return __rigidbody.set_mass(self.eid, v) end,
|
||||
set_elasticity=function(self, v) return __rigidbody.set_elasticity(self.eid, v) end,
|
||||
get_ground_vel=function(self) return __rigidbody.get_ground_vel(self.eid) end,
|
||||
}}
|
||||
|
||||
local function new_Rigidbody(eid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue