AnimSequences...

Blitz3D Forums/Blitz3D Programming/AnimSequences...

Jeroen(Posted 2003) [#1]
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


IPete2(Posted 2003) [#2]
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.


(tu) sinu(Posted 2003) [#3]
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%


Jeroen(Posted 2003) [#4]
thanks for the answers!