- Home /
Question by
Azumikkel · yesterday ·
rotationrigidbody2djoints
Rigidbody2D rotation spinning wildly when attaching by joint to another Rigidbody2D
Hi,
A rigidbody2d's rotation value can go above 360 and beyond -360. This is not very nice when using joints. because, if two seperate rigidbodies' rotations are more than 360 degrees apart and you then attach them by a RelativeJoint, they will spin like mad until they have the same rotation.
How can I prevent the spinning, or limit the rigidbody rotation property to a normal 360 degree interval that loops around instead of increasing indefinitely?
Thank you
Comment