If you give a body infinite inertia, the physics engine will be unable to rotate it, but it’ll otherwise behave physically:
node.physicsBody.setMassProperties( {inertia: new BABYLON.Vector3(0, 0, 0) } );
If you give a body infinite inertia, the physics engine will be unable to rotate it, but it’ll otherwise behave physically:
node.physicsBody.setMassProperties( {inertia: new BABYLON.Vector3(0, 0, 0) } );