AnimSequences...

Blitz3D Forums/Blitz3D Programming/AnimSequences...

Hi!

I have a mesh (.x) and I LoadAnimMeshed him.
In my own game editor I'd like the user to set the start and end frame of the animation.
How can I do this?

Basicly: how do I use something like:
ExtractAnimSeq m\entity,m\frame_start%,m\frame_end%
And Animate using the sequence?

Thanks

Jeroen,

Look in the code archives under 3d graphics, I'm sure there's an example of something like this, I used it only last week.

IPete2.

each anim extracted is given a number from 1 to x so you just number/name each anim extracted and then refer to it when you animate ie

walk = extractanimseq m\entity,m\frame_start%,m\frame_end%
run = extractanimseq m\entity,m\frame_start%,m\frame_end%

thanks for the answers!