aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraymoo <raymoo@users.noreply.github.com>2017-09-28 09:40:47 -0700
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-09-28 18:40:47 +0200
commit5258f3b857b289702078241e00fc7fe8aadde180 (patch)
tree3bf0a6224a63f423a815728463a750929ab3d411
parent08846cd05cd402cc7f8d025aaba96c5bb0aade2c (diff)
downloadhax-minetest-server-5258f3b857b289702078241e00fc7fe8aadde180.tar.gz
hax-minetest-server-5258f3b857b289702078241e00fc7fe8aadde180.zip
Document orientation parameter of set_attach (#6473)
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index cd93ffc16..31a8210de 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3392,7 +3392,7 @@ This is basically a reference to a C++ `ServerActiveObject`
* `set_attach(parent, bone, position, rotation)`
* `bone`: string
* `position`: `{x=num, y=num, z=num}` (relative)
- * `rotation`: `{x=num, y=num, z=num}`
+ * `rotation`: `{x=num, y=num, z=num}` = Rotation on each axis, in degrees
* `get_attach()`: returns parent, bone, position, rotation or nil if it isn't attached
* `set_detach()`
* `set_bone_position(bone, position, rotation)`