Butcher_of_Life
19-11-2007 21:08:43
having problem with rotating just the enity/scene node, without rotating the NxCharacter as well. I just want the ninja to face another direction, without rotating it's base.
I'm currently using:
but it just rotates for one frame and then it's back to it's default rotation. when I do this to a normal (not a nxcharacter object) scene node, it stays rotated, and there's no problem at all. why is this different with nxogre, and how can I make it work as I want?
I'm currently using:
Character->getNode()->rotate( Ogre::Vector3::UNIT_Y, Ogre::Radian( Ogre::Math::PI * 0.5 ) );
but it just rotates for one frame and then it's back to it's default rotation. when I do this to a normal (not a nxcharacter object) scene node, it stays rotated, and there's no problem at all. why is this different with nxogre, and how can I make it work as I want?