0 votes
by
edited by
I have a small problem where the car will slightly go left or right (mostly right) when im only pressing the forward key and i can also see it change in the telemetry window, what could be the problem?

1 Answer

0 votes
by
edited by
 
Best answer

Possible causes:

  • Center of mass not centered or not assigned in the vehicle controller. Best practice is to create a child gameobject at the proper CoM position and reference it from the vehicle controller's Center Of Mass property.
  • Non-symmetric or malformed inertia tensor. Best practice is to configure the Parametric inertia mode in the vehicle controller.
  • Wheel positions not symmetric. This includes the Offset value in the VPWheelCollider component.
  • Suspension properties not symmetric: distance, anchor, spring, damper.
  • Wheel properties not symmetric: radius, mass.
  • Aerodynamic components or external forces not being centered or applied asymmetrically.
  • Left-right wheels driving on different ground materials.
  • Ground mesh not perfectly flat and uniform.
...