0 votes
by
retagged by
Accessing the differential settings in a vehicle and modify them from scripting.

1 Answer

0 votes
by
 
Best answer
using VehiclePhysics;

var vc = myVehicle.GetComponent<VPVehicleController>();
vc.differential.type = Differential.Type.Viscous;
vc.differential.powerStiffness = 0.7f;
vc.differential.coastStiffness = 0.3f;

References:

VPVehicleController scripting reference
Differential scripting reference

...