L147 Physics materials

urc_s04_physics_materials__friction

#1

So even without the aid of the enemy tanks i managed on a flat surface somehow flip my tank (Unfortunatly i didnt get the video of that part!)
I did however notice something in the future that would need to be fixed.

I would assume that we would add an if statement to set the force to 0 (and turn off animations later maybe) in the event that the tank is -180 in the Y axis for longer than X amount of seconds/until tank is destroyed(DOT)?

EDIT :- I also noticed it wont turn when inverted but is that to do with where the force is applied ?


#2

Thank you for this, we will be adding code to prevent us from adding force to the tank when it is not in contact with the ground