Document orientation parameter of set_attach (#6473)

pull/6746/merge
raymoo 2017-09-28 09:40:47 -07:00 committed by SmallJoker
parent bd8d6f8f2f
commit 9927076b47
1 changed files with 1 additions and 1 deletions

View File

@ -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)`