Manipulating .B3D character animations

Blitz3D Forums/Blitz3D Beginners Area/Manipulating .B3D character animations

Animate Dude, 1, 0.46, Char_anim1 , 8


Either way - you're telling it animate an animsequence called ' 1'...you have to assign the sequence to a variable otherwise it means nothing...especially in a fully coded game.


Char_anim1 = LoadAnimSeq Dude, "Character\idle_empty.b3d"

..Also why are your anims all separate b3ds? How did you do your animations? It's tidier to do one long animated stream and load in one fully animated B3D file and then use 'extractanimseq' to chop out the anims and assign them to (global) variables.

..and another thing if 'char_idle= 1' then you have to set it to another value when you start the animation. you just have a loop going on here and the animation is constantly restarting at frame 1.

If Char_Idle = 1
Animate Dude, 1, 0.46, Char_anim1 , 8
Char_Idle = 0
End If