From 9927076b474f95e7b8fe10ac536f38cec3b716c9 Mon Sep 17 00:00:00 2001 From: raymoo Date: Thu, 28 Sep 2017 09:40:47 -0700 Subject: [PATCH] Document orientation parameter of set_attach (#6473) --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)`