Hi all.
I read tutorial number 4 from this page :http://irrlicht.sourceforge.net/tutorials.html . this tutorial is abotu movement and animators.
I understood the idea of the animator. What I am missing is a way to determine where the mesh is facing to. In the example from the tutorial , the ninja mesh is loaded and the animator is then use to animate it but the ninja face is allways lookng to the same direction.
I would like the ninja to face to the direction which it is walking to. I could calculate and use rotation by myself but since I don't like to invent wheels I would ask you guys If there is already a built in feature in the engine that can do the work for me .
Thanks in advance,
Yossi
Determinning to where an animated mesh should face.
The existing animators (fly circle, fly straight, and the like) aren't really setup to work with character models. They don't rotate the node or manage animations state or anything like that. If you want more control over your character models, you'll probably have to write the code to do it yourself.
Travis
Travis