rapier.js
rapier.js copied to clipboard
joint.type() for Rope and Spring both return 5, but enum expects them to be 3 and 4.
If using .type() on a created joint, it will return the incorrect enum and comparision with JointType will fail.
Rapier 0.12.0.