How do I Make An Object With Physics Get Destroyed When It Gets Crushed By A Very Heavy Object?
Develop games in your browser. Powerful, performant & highly capable.
On collision between two physics objects, compare position to see which one is above the other, and compare object.physics.mass to see which one is heavier or over a specific threshold.