diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-12 19:29:20 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-12 19:29:20 +0100 |
commit | 667f6064d71c1c9e5d1eca36bc3a813dfb77b936 (patch) | |
tree | 9401e731723cfb02e63d59df1dea6a5c0a957d42 /doc | |
parent | 72978e7e6f4c3af46880873f5a4e2f90386f3534 (diff) | |
download | minetest-physics.tar.xz |
Add documentationphysics
Diffstat (limited to 'doc')
-rw-r--r-- | doc/client_lua_api.txt | 1 | ||||
-rw-r--r-- | doc/lua_api.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 32be8c849..9d2f8b645 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1047,6 +1047,7 @@ Methods: sneak = boolean, sneak_glitch = boolean, new_move = boolean, + new_acceleration = boolean, } ``` diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e26497555..2f2fd2c8d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6727,6 +6727,8 @@ object you are working with still exists. (default: `false`) * `new_move`: use new move/sneak code. When `false` the exact old code is used for the specific old sneak behaviour (default: `true`) + * `new_acceleration`: use new, physically correct acceleration/gravity + code (default: `false`) * `get_physics_override()`: returns the table given to `set_physics_override` * `hud_add(hud definition)`: add a HUD element described by HUD def, returns ID number on success |