mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add default physics variables
Co-authored-by: Yoruma <168607605+Mahoyomu@users.noreply.github.com>
This commit is contained in:
parent
29cfb6efff
commit
3118efdf1c
4 changed files with 45 additions and 0 deletions
|
@ -8513,6 +8513,7 @@ child will follow movement and rotation of that bone.
|
|||
* Returns `0` (no bits set) if the object is not a player.
|
||||
* `set_physics_override(override_table)`
|
||||
* Overrides the physics attributes of the player
|
||||
* `core.DEFAULT_PHYSICS` contains the default values.
|
||||
* `override_table` is a table with the following fields:
|
||||
* `speed`: multiplier to *all* movement speed (`speed_*`) and
|
||||
acceleration (`acceleration_*`) values (default: `1`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue