mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
This commit is contained in:
parent
2a0badf2d5
commit
c5a8448c41
14 changed files with 97 additions and 10 deletions
|
@ -152,6 +152,8 @@ public:
|
|||
|
||||
virtual void setArmorGroups(const ItemGroupList &armor_groups)
|
||||
{}
|
||||
virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity)
|
||||
{}
|
||||
virtual void setAnimation(v2f frames, float frame_speed, float frame_blend)
|
||||
{}
|
||||
virtual void setBonePosition(std::string bone, v3f position, v3f rotation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue