Add tire wheel tire friction scale parameter for Wheeled Vehicle

This commit is contained in:
Wojtek Figat
2022-01-26 20:54:57 +01:00
parent ba2f58df6a
commit 05b80d17c5
2 changed files with 48 additions and 10 deletions

View File

@@ -245,6 +245,11 @@ DECLARE_SCENE_OBJECT(WheeledVehicle);
/// The tire longitudinal stiffness to have given longitudinal slip.
/// </summary>
API_FIELD(Attributes="EditorDisplay(\"Tire\"), EditorOrder(32)") float TireLongitudinalStiffness = 1000.0f;
/// <summary>
/// The tire friction scale (scales the drivable surface friction under the tire).
/// </summary>
API_FIELD(Attributes="EditorDisplay(\"Tire\"), EditorOrder(33)") float TireFrictionScale = 1.0f;
};
/// <summary>