aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-04-26 22:52:00 +0200
committersfan5 <sfan5@live.de>2020-05-06 14:03:52 +0200
commitb6b80f55c8a2bf4eae440108b3274f2f921e3a94 (patch)
treebc76782c07a335aded232fd49616d93e66c591df /doc
parentcb159f8d8af4556391db8a6875657625733eeb11 (diff)
downloadminetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.tar.gz
minetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.tar.bz2
minetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.zip
Expose collided objects in moveresult
closes #9787
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b1099ec59..948e0f89e 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6632,6 +6632,7 @@ Collision info passed to `on_step`:
type = string, -- "node" or "object",
axis = string, -- "x", "y" or "z"
node_pos = vector, -- if type is "node"
+ object = ObjectRef, -- if type is "object"
old_velocity = vector,
new_velocity = vector,
},