STATE_camera_get_head_angle

 

 


   Returns the new head angle
   Could be use the determine absolute direction (North, Soth , West, East ...)
   examples:
   0 means look forward into the screen (in the opposite direction of the world X axis)
   90 means look left (in the opposite direction of the world Y axis)
   -90 or 270 means look right (in the direction of the world Y axis)
   180 means camera looking from the screen out (in the direction of the world X axis)
   Adding or subtracting 360*n to the angle has no influence on the result

 

 

Go to page 1      Select API

 

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