Closed smjnab closed 9 months ago
If using rigidBodyDesc.lockRotations() on a RigidBodyDesc, or rigidBody.lockRotations(true, true) on a created RigidBody, it will later not be possible to unlock the rotation using rigidBody.lockRotations(false, true).
Test https://codesandbox.io/p/sandbox/lockrotationsdescbug-s2n6q3
Row 24 to 67 contain the Rapier related code and tests. testType on row 31 sets test 1, 2 or 3.
Verified and fixed in 0.12
If using rigidBodyDesc.lockRotations() on a RigidBodyDesc, or rigidBody.lockRotations(true, true) on a created RigidBody, it will later not be possible to unlock the rotation using rigidBody.lockRotations(false, true).
Test https://codesandbox.io/p/sandbox/lockrotationsdescbug-s2n6q3
Row 24 to 67 contain the Rapier related code and tests. testType on row 31 sets test 1, 2 or 3.