PDA

View Full Version : find direction user is facing


paulpars
06-16-2006, 01:17 PM
is there any way to figure out which way the user is facing? i know you can get the angle but something like 90 degrees could be either right or left. any ideas?

Gladsomebeast
06-16-2006, 01:40 PM
The degrees returned from the view.get( viz.HEAD_EULER ) are postive if the view is facing to the right hemisphere and negative in the left. You can call vizact.NormAngle() to convert to a 360 degree format.