From ba4d93027f7b1590f303eff2138cae413faf5c34 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Fri, 26 Oct 2012 11:46:46 +0300 Subject: Joint positioning and rotation code, and fix a problem related to their lua API Attempt to move the animation system to a more correct implementation, rather than using object properties. Incomplete and breaks functionality --- doc/lua_api.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 2b2b6c6f1..5515669d8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1116,6 +1116,7 @@ LuaEntitySAO-only: (no-op for other objects) - select_horiz_by_yawpitch=false) ^ Select sprite from spritesheet with optional animation and DM-style texture selection based on yaw relative to camera +- setanimations(frame_start, frame_end, frame_speed, frame_blend) - get_entity_name() (DEPRECATED: Will be removed in a future version) - get_luaentity() Player-only: (no-op for other objects) @@ -1230,9 +1231,6 @@ Object Properties visual = "cube"/"sprite"/"upright_sprite"/"mesh", visual_size = {x=1, y=1}, mesh = "model", - animation_frames = {1, 1}, - animation_speed = 15, - animation_blend = 0, animation_bone_position = {"", {x=0, y=0, z=0}}, -- bone name followed by position vector animation_bone_rotation = {"", {x=0, y=0, z=0}}, -- bone name followed by rotation vector textures = {}, -- number of required textures depends on visual -- cgit v1.2.3