Add wheeled vehicle tire options
This commit is contained in:
@@ -312,6 +312,9 @@ void WheeledVehicle::Setup()
|
||||
|
||||
PxVehicleTireData tire;
|
||||
tire.mType = 0;
|
||||
tire.mLatStiffX = wheel.TireLateralMax;
|
||||
tire.mLatStiffY = wheel.TireLateralStiffness;
|
||||
tire.mLongitudinalStiffnessPerUnitGravity = wheel.TireLongitudinalStiffness;
|
||||
|
||||
PxVehicleWheelData wheelData;
|
||||
wheelData.mMass = wheel.Mass;
|
||||
|
||||
Reference in New Issue
Block a user