I'm trying to separate animations from models in a little irrlicht game I'm staring.
i.e. I have several animation files which are loaded at the start into an array ISkinnedMesh *animation[N];
Code: Select all
animStay.x
animWalk.x
animRun.x
...
then I have several models where I apply those animations with useAnimationFrom
Code: Select all
char1.x
char2.x
...
The problem I have is that the animation is set per model, not per instance. So having 2 char1 instances make me impossible to make one char1 walk, and the other one stay.
Which is the correct workaround / alternative to this approach in irrlicht?
Thanks,
Kak