aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-12-12 19:29:20 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-12-12 19:29:20 +0100
commit667f6064d71c1c9e5d1eca36bc3a813dfb77b936 (patch)
tree9401e731723cfb02e63d59df1dea6a5c0a957d42 /doc/lua_api.txt
parent72978e7e6f4c3af46880873f5a4e2f90386f3534 (diff)
downloadminetest-physics.tar.xz
Add documentationphysics
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
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