Is irrlicht support more than one animation set in x file ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Yuki
Posts: 2
Joined: Tue Apr 10, 2007 4:27 am

Is irrlicht support more than one animation set in x file ?

Post by Yuki »

Hello,I'm a beginner on irrlicht , I want to load a x-file with more than one animation set : AnimationSet "Walk" AnimationSet "Jump",but I can't find any function in irrlicht to change current animation set. Is irrlicht support multiple animation set ? if not ,Will irrlicht support it in the future? Thank you !
Jgoldnight
Posts: 31
Joined: Thu Jun 07, 2007 6:23 pm
Location: New York
Contact:

Post by Jgoldnight »

You can set the animation frames within a certain range. You might be able to define a set of those ranges as variables and then switch between them using the mesh->setFrameLoop(begin, end).

Hope it helps.
Computer scientist by day...
http://www.mrjoelkemp.com
pera
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia
Contact:

Post by pera »

AnimationSets are slightly different then frame animations (frameanimations have all animations in one AnimationSet), Im not sure irrlicht is aware of AnimationSets, if you have such model, load it and see if it plays all anims or just the first one.
if it doesnt support it, you could put all anims in first animationSet and then use frames to distinct between them...
Post Reply