# Chaos vehicle gets "stuck" on slopes

**URL:** <https://forums.unrealengine.com/t/chaos-vehicle-gets-stuck-on-slopes/1574641>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [December 30, 2023, 8:53pm UTC](https://forums.unrealengine.com/t/chaos-vehicle-gets-stuck-on-slopes/1574641 "2023-12-30T20:53:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Kanturu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanturu](https://forums.unrealengine.com/u/Kanturu)\
**Post date:** [January 3, 2024, 7:04pm UTC](https://forums.unrealengine.com/t/chaos-vehicle-gets-stuck-on-slopes/1574641/4 "2024-01-03T19:04:03Z")

</div>

@vidaandras

Solved it.

p.Chaos.Suspension.SlopeThreshold

Add this to your vehicle’s begin play/construction script  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/d/39d5099f26545e7e8c5ce3edf76fb30c5ac563fc.png)

I found this by digging through the source code, doesn’t seem like there’s documentation for this which sucks.

Basically, the chaos vehicles suspension system have a mechanism called anti-slide which stops the vehicle in its place when its on a very low speed and it’s below a certain angle.

Here’s how it works: “Slope threshold below which the anti-slide on slope mechanism is employed, value = Cos(SlopeAngle), i.e. for 50 degree slope = 0.6428, 30 degree slope = 0.866”

So basically setting this variable to 1 is equal to 0 degrees, meaning the vehicle never stops on slopes, of course you can set it as you like.

You might also find the following console variables useful:

p.Chaos.Suspension.SlopeSpeedThreshold - _“Speed below which the anti-slide on slope mechanism is fully employed”_

p.Chaos.Suspension.SlopeSpeedBlendThreshold - _“Speed below which the anti-slide on slope blend mechanism starts”_

So glad to be over this issue already 😃

---

_[View the full topic](https://forums.unrealengine.com/t/chaos-vehicle-gets-stuck-on-slopes/1574641)._
