Animation question

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
KakCAT
Posts: 10
Joined: Fri May 14, 2010 10:09 am

Animation question

Post by KakCAT »

Hi!

I have an .X file with an animated character. From frame 0 to 60 is the "stay" animation, from 100 to 130 is the "start walking" animation, and from 130 to 180 is the walk animation, looped until the player stops moving.

Everything works well, but I'd like that once the player stops walking (character goes from frame (i.e.) 172 to frame 0) the animation would be interpolated (blended?) into frame 0 instead of jumping/setting directly to frame 0.

Is it possible?
If possible, would it be still possible if I was using ISkinnedMesh::useAnimationFrom and walk and 'stay' would be different instances? (my idea is having 1 file for each animation, then use useAnimationFrom for every character in the game)

Thanks!
Kak
KakCAT
Posts: 10
Joined: Fri May 14, 2010 10:09 am

Post by KakCAT »

I just found this

http://www.irrlicht3d.org/wiki/index.ph ... tionSystem

which solves most of my questions, except for the one involving useAnimationFrom

edit: useAnimationFrom seems to work correctly, however I'm having another problem with the models (which I'm moving to another thread in advanced forum, as I think it's not a Beginner issue)

Thanks,
Kak
Post Reply