Made iqm animations in one file following the guide(Decoupled animations with IQM models: how to) and everything exported fine, but now the question has come up. All animations are displayed normally, but when I want to move the model using A_Chase model starts strange move - It loops a few frames of “walking” and the model starts to loop through just 2 frames(very quickly) and moves behind the player
class testus: actor
{
default
{
Health 500;
Radius 20;
Height 64;
Mass 600;
Speed 2;
PainChance 128;
Monster;
+FLOORCLIP
+BOSSDEATH
+DECOUPLEDANIMATIONS
+NOPAIN
}
States
{
Spawn:
M000 A -1 NoDelay A_SetAnimation('idle', flags:SAF_LOOP);
Loop;
See:
M000 A 1 A_Chase();
M000 A 1 NoDelay SetAnimation('walking', flags:SAF_LOOP);
loop;
}
}
gif for example:
![Image]()
class testus: actor
{
default
{
Health 500;
Radius 20;
Height 64;
Mass 600;
Speed 2;
PainChance 128;
Monster;
+FLOORCLIP
+BOSSDEATH
+DECOUPLEDANIMATIONS
+NOPAIN
}
States
{
Spawn:
M000 A -1 NoDelay A_SetAnimation('idle', flags:SAF_LOOP);
Loop;
See:
M000 A 1 A_Chase();
M000 A 1 NoDelay SetAnimation('walking', flags:SAF_LOOP);
loop;
}
}
gif for example:

Statistics: Posted by solvictusig — Fri Oct 18, 2024 4:22 pm