Add digital steering option for a vehicle

This commit is contained in:
Wojtek Figat
2021-08-20 16:23:45 +02:00
parent aa224f6296
commit 17f128afeb
3 changed files with 76 additions and 19 deletions

View File

@@ -321,6 +321,12 @@ public:
API_FIELD(Attributes="EditorOrder(0), EditorDisplay(\"Vehicle\")")
bool UseReverseAsBrake = true;
/// <summary>
/// If checked, the vehicle driving and steering inputs will be used as analog values (from gamepad), otherwise will be used as digital input (from keyboard).
/// </summary>
API_FIELD(Attributes="EditorOrder(1), EditorDisplay(\"Vehicle\")")
bool UseAnalogSteering = false;
/// <summary>
/// Gets the vehicle driving model type.
/// </summary>