simonbw / pod-racer

You race pods.
https://pod-racer.now.sh
MIT License
0 stars 0 forks source link

Damage System #10

Open simonbw opened 9 years ago

simonbw commented 9 years ago

We want to implement an interesting damage system. On every collision, the severity of the collision should be calculated from the magnitude of the impulse applied. This could be approximated by the change in momentum of the body. Based on the severity of the collision, a "catastrophic event" should be selected:

Driving through the pit stop area should remove all negative conditions from the pod.