Animation Transition Option

Blitz3D Forums/Blitz3D Beginners Area/Animation Transition Option

CodeOrc(Posted 2009) [#1]
I am using the Animate command in B3D...i.e

AnimateMD2 md2[,mode][,speed#][,first_frame][,last_frame][,transition#]


My question is this. I have a Walk Cycle and an Attack Cycle of frames. How can I get a model to smoothly go from an Attack to the Walk without it "popping" to the first frame of the next anim ?

thx :)


Kryzon(Posted 2009) [#2]
Putting "transition#" to a value like, say, 10. Blitz will make sure to smooth out from the current frame your model is, to whatever you specified in "first_frame" next time you animate. It's a matter of testing really; 10 of transition is good, 4 is for quick movements, etc etc.