Vehicle can't go up any slopes over 5 degrees

  1. What do you want to achieve?
    A vehicle that can:
  • Climb slopes that are 20 degrees
  • Keeps a speed of 21 when climbing slopes (up to 20 degrees)
  1. What is the issue?
    My current vehicle can’t climb any slopes at all.

  2. What solutions have you tried so far?
    I’ve tried looking around on the dev forum where I found similar topics, but most didn’t have an answer or their answer didn’t work for me. I’ve also tried solving this issue myself by:

  • Changing torque to inf
  • Changing the friction on the wheels
  • Changing the density of the wagon parts
  • Changing the massless variable on the wagon parts
  • Changing the friction on the ramps
  • Combinations of the above
local motor1, motor2 = script.Parent.Parent.Tongue.Hold.HingeConstraint, script.Parent.Parent.Tongue.Hold.HingeConstraint2

local speed = 5
local reverseSpeed = speed / 2

local function update()
	local newSpeed = script.Parent.Throttle * if script.Parent.Throttle == 1 then speed elseif script.Parent.Throttle == -1 then reverseSpeed else 0
	motor1.AngularVelocity = newSpeed
	motor2.AngularVelocity = newSpeed
end

script.Parent:GetPropertyChangedSignal("Throttle"):Connect(update)

Front wheel physical properties:
image
Wagon wheel physical properties are the same currently.

Video of the issue (all the scripts and properties that were shown above are used in this video)

Prevented some slippage, but still stopped at 0 speed.

The wagon is getting pretty close to being able to climb that 20 degree slope, I think I just need to mess around with the torque and friction even more, tysm for the help!

On a side note, finally, took long enough for someone to recreate The Orgean Trail, I’d love to see your progress on this.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.