Skip to content

Commit

Permalink
Document orientation parameter of set_attach (#6473)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymoo authored and nerzhul committed Sep 28, 2017
1 parent 08846cd commit 5258f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lua_api.txt
Expand Up @@ -3392,7 +3392,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)`
Expand Down

0 comments on commit 5258f3b

Please sign in to comment.