question about character actions

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
double99
Posts: 28
Joined: Sun Oct 31, 2004 1:07 am

question about character actions

Post by double99 »

do i make all the actions movements in one file likke frame 1-1000 then chose certain frames(risk is forgetting from where to were) or doest irrlicht allow
multiple actions.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

I'm not sure if I fully understand your question, but I know Irrlicht .x loader loads seperate animations. In your modelling package you can animate the character with actions such as walk, run, shoot, etc, and you can access those actions by name with irrlichts IAnimatedMeshX. Unfortunately irrlichts design of some of its animation system is (IMHO) poor. You will need to keep an instance of the mesh to change the current animation, and because irrlicht only loads one copy of each mesh setting the current animation of the .x mesh will change the animation for all scene nodes with that mesh. When I get to coding the animation system for my game I plan to fix some of these problems (if someone else doesn't do it first, there's been talk in IrrlichtNX forums), btu it could be a little while before I get there.

Hope that helps somewhat.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Post Reply