diff options
author | raymoo <raymoo@users.noreply.github.com> | 2017-09-28 09:40:47 -0700 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:31:59 +0200 |
commit | 9927076b474f95e7b8fe10ac536f38cec3b716c9 (patch) | |
tree | a79442197d25b0e9779456a259d07d51d378d93b | |
parent | bd8d6f8f2f23fb4b4b4ab274bc6356aa141a31ef (diff) | |
download | minetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.tar.gz minetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.tar.bz2 minetest-9927076b474f95e7b8fe10ac536f38cec3b716c9.zip |
Document orientation parameter of set_attach (#6473)
-rw-r--r-- | doc/lua_api.txt | 2 |
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)` |