Was wondering what would be the best way to measure impact upon collision. By way of example, if I have a rock of a certain density traveling at a certain velocity, it should deliver a greater impact if the velocity is higher, etc. I want to have some objects get destroyed but only if the impact is great enough. Any ideas on the best way to do this?
Make a variable durability for each object , Wood would have 100 and diamond 1000 and the collision impact would be Mass*Velocity
If impact > durability , destroy or tear apart object
But try and keep it realistic ...
Develop games in your browser. Powerful, performant & highly capable.
Thanks so much. I was making it far too complicated.