Animation Start frame

Blitz3D Forums/Blitz3D Programming/Animation Start frame

necky(Posted 2003) [#1]
Is there an easy way of starting a sequence somewhere other than from the first frame.
I`ve got a walk animation and, if I tap the left or right button my character appears to float due to the walk cycle restarting at frame 0. I`m really after a way of starting the walking from the point I last left it (in otherwords the frame the walk cycle was on before the 'idle' animation started).
thanks guys.


jhocking(Posted 2003) [#2]
You can use SetAnimTime to skip straight to specific animation frames. I would recommend against this for the purpose you describe however; in most cases you shouldn't restart the walk animation just because the character has turned. Just continue playing the walk animation while turning. Similarly you wouldn't want to restart from where you stopped playing the walk when you transition from 'walk' to 'idle' since the idle will always be the same.