forcing frames of an animated model

Blitz3D Forums/Blitz3D Programming/forcing frames of an animated model

danjo(Posted 2004) [#1]
if i have an animated model (b3d for example) and it has a walking animation frames 1-10,
using extractanimseq - i can get this and play fine.
what i need to know, is once you have your models animations out,
can you force it to stay on 1 frame of that animation sequence.
ie:
even though the walking animation has 10 frames, and i want to move my character 10 "units", i would like to play the animation of the walking cycle as i increment the movment units.
this is so he will always finish his animation exactly after moving 10 units.

so far i have only found that the animation plays at a speed, and as we all know, speeds can vary from pc to pc or incase of a slowdown etc..

how can this be done please?


jhocking(Posted 2004) [#2]
SetAnimTime

To keep animation playback steady on different computer speeds however use the animation speed parameter of UpdateWorld.


danjo(Posted 2004) [#3]
extracting 10 sequences is a possibility for the walk and then playing each one as i increment the movement would work, but is there any more a straightforward way?


danjo(Posted 2004) [#4]
"however use the animation speed parameter of UpdateWorld" <- can you explain that part further please?