Add wheeled vehicle tire options

This commit is contained in:
Wojtek Figat
2021-08-20 16:33:11 +02:00
parent 078f56febe
commit aaca4ecc69
2 changed files with 18 additions and 0 deletions

View File

@@ -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;