I'm using Box2D for the physics simulation in my game. I'm currently using the b2MouseJoint to move the player's ship around on the screen. It works really well for the kind of control that I want. However, I am using the accelerometer to rotate the b2Body of the player's ship, and this works perfectly as long as the b2MouseJoint isn't attached to the body. When the b2MouseJoint is attached, the body starts rotating around the point on the screen that is being touched, instead of rotating in place. Anyone have any pointers?
Thanks.