Hi. I want to create a damage system. Imagine you have a spaceship and if you drive not
very carefully and you hit the walls i want the damage to be similar to the speed you hit the wall. Also the ship has 4 sides
and the damage will be taken from the 4 sides. Each side has for instance 100 health and when it gets damage
the color will change from green to red. For example in this picture right and bottom is good. Left has medium damage
and top has very little health left. And the player dies when any of sides reach 0 health. This is the basics what i want.
Now what i dont know is how to know which side of the ship has collided and at what speed do they collided
Is it the way to collide and activate a trigger at the same time? or i need to add another collider for the trigger event too?
Do i need 4 colliders for each side? I have some ideas for it but i dont know if they will work
I will apply this ideas and post the results here. Thank for your time