Search code examples
box2djbox2d

Which direction is zero (0) in Box2D?


Which direction is considered 0 degrees in box2D? Is it north, south, east, west? And then do the angles increase clockwise, or counter-clockwise?

I've read through the manual and it doesn't seem to mention this anywhere.


Solution

  • Box2d actually uses radians... 0 would correspond to "East".

    http://en.wikipedia.org/wiki/Radian

    enter image description here