We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8800896 commit a782a88Copy full SHA for a782a88
doc/lua_api.txt
@@ -1295,9 +1295,15 @@ methods:
1295
- set_wielded_item(item): replaces the wielded item, returns true if successful
1296
- set_armor_groups({group1=rating, group2=rating, ...})
1297
- set_animation({x=1,y=1}, frame_speed=15, frame_blend=0)
1298
-- set_attach(parent, "", {x=0,y=0,z=0}, {x=0,y=0,z=0})
+- set_attach(parent, bone, position, rotation)
1299
+ ^ bone = string
1300
+ ^ position = {x=num, y=num, z=num} (relative)
1301
+ ^ rotation = {x=num, y=num, z=num}
1302
- set_detach()
-- set_bone_position("", {x=0,y=0,z=0}, {x=0,y=0,z=0})
1303
+- set_bone_position(bone, position, rotation)
1304
1305
1306
1307
- set_properties(object property table)
1308
LuaEntitySAO-only: (no-op for other objects)
1309
- setvelocity({x=num, y=num, z=num})
0 commit comments