Tank Physics and Friction

Hello! I’m currently in the process of making a tank game, I implemented a very simple suspension system to simulate track behavior. Shoots raycast down, if it hits the ground add force to the chassis (it’s not that simple but this is the general idea).
This works as intended but the problem is friction because now the tank is essentially hovering over the ground like a helicopter. I have tried a couple different approaches but nothing seems eliminate the creeping (aka vehicle slides on the ground ever so slightly).

Any suggestions? Should I try a different approach?

Best way to do this is to slow and stop the tank yourself to make it halt like a real vehicle.

If there are no control inputs and the speed is below a certain amount, then slow the tank a bit yourself.

Finally when it gets below a really slow amount, just set its velocity equal to zero.

If it still slides downhill then maybe the answer is to turn off gravity.

1 Like

I’ll give it a shot, thank you!