Open LeXXik opened 2 years ago
Hello, @sebcrozet ! I was wondering if you had a chance to look at this issue? I've made a little repro for you here, to demonstrate the problem:
https://jsfiddle.net/LeXXik/7pmufe25/10/
The culprit line that breaks the simulation is the one that restricts the rotation of the dynamic box on Z axis (line 29)
.restrictRotations(true, true, false);
In the following use case, I have a few spheres, connected to each other with a fixed joint. All spheres are not allowed to rotate on Y axis via
restrictRotations
. Rapier crashes once a kinematic body (yellow cylinder) touches them:https://user-images.githubusercontent.com/5677782/174828645-3d225ea4-1ff4-41d6-998f-dc7d7fbb5c49.mp4