Preventing 2D Vehicle Slip

Hello,

I’m working on 2D vehicle that moves left/right. On flat ground everything works as expected. The issue is when the vehicle needs to go up a hill (a steep one) slowly.

The vehicle pretty much begins to slow down and then slides down, then climbs a little and then slides down again. This repeats and repeats.

My goal is to have the vehicle move at a desired speed like a cruise control.

I will do some more experimenting.

Here is a video of the “issue”:

Unity 2D Vehicle Test - YouTube

Keep in mind that I have friction for the wheels and ground set to 1.