aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorraymoo <raymoo@users.noreply.github.com>2017-09-28 09:40:47 -0700
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commit9927076b474f95e7b8fe10ac536f38cec3b716c9 (patch)
treea79442197d25b0e9779456a259d07d51d378d93b /doc
parentbd8d6f8f2f23fb4b4b4ab274bc6356aa141a31ef (diff)
downloadminetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.tar.gz
minetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.tar.bz2
minetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.zip
Document orientation parameter of set_attach (#6473)
Diffstat (limited to 'doc')
-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 8e750c5a4..c1799d79e 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3182,7 +3182,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)`