0 votes
ago by
edited ago by

I am creating a race car in Unity and when i change wheel collider anchor value, suspension looks weird and isn't located in the anchor position when the car is idle.

For example i set up here a position where the suspension should be by default, when the car is just staying:



But when i start the game the suspension straightens up a lot, lifts the car and misses the anchor point:



Why does that happen and how to fix that? I am trying to make something like GT3 cars so I made suspension a bit harder than road cars.
Thanks for any advice

1 Answer

0 votes
ago by
 
Best answer
The position of the suspension at rest depends exclusively of the Spring Rate. In this case, you should decrease the Spring Rate until the suspension reaches the position you want. However, note that this might cause bottoming when driving the car, which should be avoided.

The anchor position modifies the ride height only, not the properties of the suspension. Anchor defines the point in the suspension travel where the wheel suspension is "anchored" to the vehicle. This is the equivalent for "Perch Offset" in some simulators / setups.

You may understand the anchor better by modifying the value in runtime and observing the effect. Compare with modifying the Spring Rate for a better understanding.
...