mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Document orientation parameter of set_attach (#6473)
This commit is contained in:
parent
08846cd05c
commit
5258f3b857
@ -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)`
|
||||
|
Loading…
Reference in New Issue
Block a user