mirror of
https://github.com/minetest/minetest.git
synced 2025-06-30 23:20:22 +02:00
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
This commit is contained in:
committed by
Perttu Ahola
parent
fb0c431864
commit
ba4d93027f
@ -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
|
||||
|
Reference in New Issue
Block a user