projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8d6f8
)
Document orientation parameter of set_attach (#6473)
author
raymoo
<raymoo@users.noreply.github.com>
Thu, 28 Sep 2017 16:40:47 +0000
(09:40 -0700)
committer
SmallJoker
<mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000
(17:31 +0200)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index 8e750c5a4c29bcb233ac9d3e7101fcbb6f2f38af..c1799d79eef358840e79e9d521c2688d2686e3f8 100644
(file)
--- 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)`