This project has moved. For the latest updates, please go here.

Camera2D rotation issue

Topics: Developer Forum
Jul 13, 2012 at 8:26 PM


I've just started playing around with Farseer and I must say its brilliant so far!

I have come up against one issue which i am struggling to find a solution for! I have a camera (from the samples solution) which tracks a box which rotates. The trouble is, when the box rotates from 359 to 0 degrees the camera rotates back around the opposite way back to 0 which obviously isn't ideal!

I wondered if anyone has any ideas how to get around this?