Raycast Suspension (PID): How to eliminate instability related to BodyThrusters?

  1. What do you want to achieve? I am experimenting with a raycast suspension. A PID controller operates 4 BodyThrusters to keep the vehicle above ground. After some time the vehicle spazzes out and flips over, this is what I’m trying to avoid.

  2. What is the issue? The BodyThrusters seem to apply too much or too less force at a point and the vehicle flips or behaves unexpectedly.
    https://gyazo.com/db92060f558bec46229920782ccc86b0

  3. What solutions have you tried so far? I have tried to put a BodyGyro in the chassis, and it eliminates the instability but produces unrealistic behaviour further down the road.
    https://gyazo.com/8c5c384a8317dce8c5b549a8b52e1933

If anyone has a tip or a solution feel free to throw it out there.

This guy did a similar thing and shared the file, maybe it will be a good resource for you:

1 Like