You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a bug with the way joint limits were specified, addressed in #579. I recommend trying again with rapier JS 0.12, and reopen this issue if the problem persists.
I followed the example in the document, and the code is as follows:
body1
is a square,body2
is a long and narrow rectangle, with the joint connecting their centers, and the rectangle being larger than the square.When the rectangle collides with something, the rotation angle isn't restricted. Did I misunderstand the meaning of "limits"?
clip.mov
JS @dimforge/rapier2d 0.11.2
The text was updated successfully, but these errors were encountered: