Hey guys,
Some reason I've been struggling with this for a while.
I have a papervision camera of which turns using keyboard input, I have a radar of which I would like to orientate to direction when the camera turns.
I have it all working apart from mapping my (camera) DisplayObject3D.rotationY
to RadarInterface.rotation
correctly.
The camera (or any 3d object) works with values I'm finding hard:
Clockwise: 0 to 89, 89 to 0, -0 to -89, -89 to -0
doing a complete 360.
So if I were to turn 180 degrees I'd go from 0 to 90 and back down to 0 again.
Does anyone know how to convert this to 360 degrees.
Thanks in advance.