View Single Post
  #16  
Old 02-20-2007, 12:53 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The QuatDiff function simply uses the above method of computing the angle difference between the forward and up vectors, and returns the maximum of those two values.

You can modify the sample code I gave you to replicate this behavior.
Reply With Quote