Syncronizing animations

Blitz3D Forums/Blitz3D Beginners Area/Syncronizing animations

Alberto(Posted 2004) [#1]
Hello

Is it possible in Blitz3D to syncronize two separate animation sequences to create a perfect smooth transiction?
For example ,I have a "run" animation sequence and a "Jump" animation sequences.
I want that the last "run" frame alwayes matches the first "jump" frame
Thanks in advance


scribbla(Posted 2004) [#2]
i think you need to look at animtime...

cycletime=AnimTime(MyModel)
(just text cycletime to the screen and play the run anim see how long it is)

and get the length(time) of the run anim, when at the end, start the jump.. i use something similar for a jump routine

only thing is if your pressing the jump button and the run is at frame 1 then theres going to be a delay on the jump
while the run anim plays to the end

from a run to a jump personaly id just tween it in blitz
or have a start frame for the jump say legs together and tween it from the run


if you download the zip file it shows the jump
press 4,5,6,7 to see the jump cycles
http://blitzbasic.com/Community/posts.php?topic=33061


hope it helps