|
GetRotationTo(Vector3, Vector3)
|
Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. This method is based on Stan Melax's article in Game Programming Gems, and the code was referenced from OgreVector3.h of the Ogre library (www.Ogre3d.org).
|
|
GetRotationTo(Vector3, Vector3, Vector3)
|
Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. This method is based on Stan Melax's article in Game Programming Gems, and the code was referenced from OgreVector3.h of the Ogre library (www.Ogre3d.org).
|