Car Health System

Hi,

I am trying to code a health System for a car. To be a little be more specific what I am trying to do is when a car is hitting something, depending on his speed or orientation, it affect his health.
For instance, when that car is hitting a wall directly at the front at high speed > Explosion ! But at low speed > Just decreasing his “life counter”.
Does it makes sense ?

Every possibility or idea are very welcome !
Thanks.