JeremyLeland / SectorC37

A top-down space shooting game
0 stars 0 forks source link

Slow moving rocks shouldn’t necessarily destroy each other #32

Open JeremyLeland opened 2 years ago

JeremyLeland commented 2 years ago

I think this is a question of force — a massive slow-moving rock hitting a massive slow moving rock should be more of a bounce than a break. A fast moving rock that hits a rock should do damage, however.

This may not be worth getting into, but look into having some sort of “breaking force” threshold, and looking at how much force objects are hitting each other with (rather than always doing a set amount of damage)?

JeremyLeland commented 1 year ago

F = m * v, so maybe multiply the damage by the force of collision?