Document orientation parameter of set_attach (#6473)

This commit is contained in:
raymoo 2017-09-28 09:40:47 -07:00 committed by Loïc Blot
parent 08846cd05c
commit 5258f3b857

@ -3392,7 +3392,7 @@ This is basically a reference to a C++ `ServerActiveObject`
* `set_attach(parent, bone, position, rotation)` * `set_attach(parent, bone, position, rotation)`
* `bone`: string * `bone`: string
* `position`: `{x=num, y=num, z=num}` (relative) * `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 * `get_attach()`: returns parent, bone, position, rotation or nil if it isn't attached
* `set_detach()` * `set_detach()`
* `set_bone_position(bone, position, rotation)` * `set_bone_position(bone, position, rotation)`