Angle not normalized?
Posted: Fri Jun 28, 2013 1:32 pm
So, every once in a while, a body in my simulation will have an angle that is not normalized.
For example, a case here:

I would expect cpBodyGetAngle() to return a value between -pi and +pi
Now granted, I set the angular velocity of the body (with circle shape) each frame.
But surely this should not lead to non normalized angles?
Is this a bug?
For example, a case here:

I would expect cpBodyGetAngle() to return a value between -pi and +pi
Now granted, I set the angular velocity of the body (with circle shape) each frame.
But surely this should not lead to non normalized angles?
Is this a bug?