Troubleshooting
Common issues that might be encountered:
The vehicle is sliding around when stationary or jittering.
This can happen when the vehicle physics settings are too stiff for the given update rate.
Suggestions:
- Increase the number of the sub-steps on the
VehicleAuthoring, and/or - Increase the overall physics update rate, and/or
- Adjust the following:
WheelAuthoringFrictionCurveMaximum- too low X value or too high Y value can result in a friction that is too stiff.WheelAuthoringSuspensionDampingRate- very high damper values might cause the suspension to over-correct itself.WheelAuthoringAntiRollBarStiffness- extreme values can prevent the suspension from working correctly.RigidbodyCenterOfMass- extreme values can cause jitter.RigidbodyInertiaTensorandMass- too low values can cause jitter.
Vehicle is rolling or tipping over.
Suggestions:
- Check the
Rigidbody > Center Of Massis adjusted correctly (untickAutomatic Center Of Mass). In general, the center of mass should be positioned in between the driver's seats, at the level of the seat cushion. Note that this is just a general guideline. Too high center of mass will result in the vehicle being prone of rolling or tipping over.
Vehicle is not moving.
Suggestions:
- Verify that the
VehicleControlAuthoringis set up. - Check that there is a valid
AnimationCurveassigned underVehicleControlAuthoring>EngineTorqueCurve. - Check that the engine is started (
VehicleControlAuthoring.EngineStartOnAwake, orEngineStartStopcomponent).
Vehicle is moving, but only slowly.
Suggestions:
- Check that there is adequate
EngineMaxTorquefor the vehicle mass. - Check that the
TransmissionFinalGearRatioandTransmissionForwardGearRatios/TransmissionReverseGearRationare high enough for the vehicle engine torque and mass. Very low values will result in little torque being passed on to the wheels.