STATE_object_get_cos_pitch

 

 


   obsolete. Use STATE_object_get_tilt() instead
   The return value is in [-1  -   1] according to the
   angle between the object direction and the world Z axis
   1 means we are looking up . -1 means down.
   For example if we have an airplane we can use this function to test
   whether the plane is diving, going up or strait (strait would return 0)

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com