mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
ObjectRef: Add add_velocity() (#3208)
Allow changing the velocity of objects relatively to their current velocity
This commit is contained in:
parent
0a8ca59891
commit
93eb0794d6
5 changed files with 27 additions and 1 deletions
|
@ -161,6 +161,9 @@ private:
|
|||
// set_velocity(self, {x=num, y=num, z=num})
|
||||
static int l_set_velocity(lua_State *L);
|
||||
|
||||
// add_velocity(self, {x=num, y=num, z=num})
|
||||
static int l_add_velocity(lua_State *L);
|
||||
|
||||
// get_velocity(self)
|
||||
static int l_get_velocity(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue