rapier.js
rapier.js copied to clipboard
Sensors add to rigidBody mass
If you add colliders to a rigidBody and the colliders are set to sensors, the colliders will change the rigidBody mass. I don't think this is intended? Or is there a use for this?
Test https://codesandbox.io/p/sandbox/sensorsaddtorigidbodymass-pkg8dk
Test rows 24 to 62. Row 30 has test type: 1 add sensor, 2 do not add sensor. To see the console log message, show the console in the debug browser by clicking the "bug" icon.
Just stumbled upon this. Best workaround to this is to set the density of the sensor collider to 0.