Locking a body's rotation with lock_rotations() incorrectly handles manually applied torques, such as via setting the body's angvel(). Rather than using the center of mass, the rotation is applied around one of the corners.
This may be related to #216, though given that the issue still occurs when the body is not translating, I doubt it.
Locking a body's rotation with
lock_rotations()incorrectly handles manually applied torques, such as via setting the body'sangvel(). Rather than using the center of mass, the rotation is applied around one of the corners.This may be related to #216, though given that the issue still occurs when the body is not translating, I doubt it.