I’m trying to rotate the camera around the character based on his rotation, but tracing rotationY gives me 0 to 90 to 0, or 0 to -90 to 0. Shouldn’t this return 0 to 360?
What am I doing wrong or is this a bug?
Thanks!
Character controller and rotationYSoftware: Away3D 4.x |
||
Alex Bogartz, Sr. Member
Posted: 13 October 2011 07:07 PM Total Posts: 216 I’m trying to rotate the camera around the character based on his rotation, but tracing rotationY gives me 0 to 90 to 0, or 0 to -90 to 0. Shouldn’t this return 0 to 360? What am I doing wrong or is this a bug? Thanks! |
||
Alex Bogartz, Sr. Member
Posted: 13 October 2011 11:27 PM Total Posts: 216 [ # 1 ] I didn’t really get this resolved but I figured out how to get my code working. I was trying to make a smooth follow script, ala Unity. |