Plane yaw problems
Posted: Thu Mar 17, 2005 2:21 am
I haven't quite warmed up to the ogre api yet, so please bear with me...
I need to know how to set a fixed yaw axis for a particular sceneNode. When my plane is rotated (looks like it is turning), the local y axis of the node is then also used for yaw. I would like to set a fixed yaw axis for this particular node so that when the plane is rotated it can also turn in the correct fashion.
this is my current yaw code from one of the tutorials that uses a local axis from which to yaw:
mControlNode->yaw(Radian (Degree( mfYaw * evt.timeSinceLastFrame )));
I need to know how to set a fixed yaw axis for a particular sceneNode. When my plane is rotated (looks like it is turning), the local y axis of the node is then also used for yaw. I would like to set a fixed yaw axis for this particular node so that when the plane is rotated it can also turn in the correct fashion.
this is my current yaw code from one of the tutorials that uses a local axis from which to yaw:
mControlNode->yaw(Radian (Degree( mfYaw * evt.timeSinceLastFrame )));