External Publication
Visit Post

Problems • Re: Problems with glTF models

Luanti Forums - Index page [Unofficial] May 24, 2026
Source

@saulsm - It's weird but the animation frames are float values, but this seems to work:

Code:

mobs:register_mob("test:pato", {description = "Pato",type = "animal",passive = false,attack_type = "dogfight",damage = 1,reach = 2,armor = 100,walk_velocity = 1.4,run_velocity = 2.2,collisionbox = {-0.4, 0.05, -0.4, 0.4, 1.2, 0.4},visual = "mesh",mesh = "pato1.gltf",animation = {stand_start = 0, stand_end = 2.0, stand_speed = 1, stand_loop = false, -- headpunch_start = 2.0, punch_end = 4.0, punch_speed = 1.5, -- handwalk_start = 4.0, walk_end = 5.5, walk_speed = 1, -- walkrun_start = 4.0, run_end = 5.5, run_speed = 2.4,die_start = 5.5, die_end = 8.5, die_speed = 1, die_loop = false, -- die},textures = { {"pato1.png"} },})

Statistics: Posted by TenPlus1 — Sun May 24, 2026 14:42


Discussion in the ATmosphere

Loading comments...