rapier.js
rapier.js copied to clipboard
Changing RigidBody bodyType before any collisions makes rigidBody static
With a simple scene such as a ball dropping onto a plane, if the dynamic rigid body is set to "fixed" after a few steps and then back to "dynamic" after a few more steps before colliding with the plane, then it will become stuck, unaffected by gravity as if it were still fixed. Once another object collides with it then it will begin to move again.