STATE_object_get_tilt

 

 


   The return value is in [-90  -   90] according to the
   angle between the object direction and the world Z axis
   90 means we are looking up . -90 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