From: raymoo Date: Thu, 28 Sep 2017 16:40:47 +0000 (-0700) Subject: Document orientation parameter of set_attach (#6473) X-Git-Tag: 0.4.17~79 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9927076b474f95e7b8fe10ac536f38cec3b716c9;p=oweals%2Fminetest.git Document orientation parameter of set_attach (#6473) --- 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)`