Is irrlicht support more than one animation set in x file ?
Is irrlicht support more than one animation set in x file ?
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:
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.
Hope it helps.
Computer scientist by day...
http://www.mrjoelkemp.com
http://www.mrjoelkemp.com
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...
if it doesnt support it, you could put all anims in first animationSet and then use frames to distinct between them...