Struct VehicleControl
Additional functionality for the Vehicle. Powertrain, drivetrain, steering and in general everything related to controling the vehicle movement and behavior.
Inherited Members
Namespace: Unity.Vehicles
Assembly: com.unity.vehicles.dll
Syntax
[Serializable]
public struct VehicleControl : IComponentData, IQueryTypeParameter
Fields
EngineStartStopInput
Engine start / stop input.
Declaration
public bool EngineStartStopInput
Field Value
Type | Description |
---|---|
bool |
HandbrakeInput
Handbrake input without any processing.
Declaration
public float HandbrakeInput
Field Value
Type | Description |
---|---|
float |
RawBrakeInput
Brake input without any processing.
Declaration
public float RawBrakeInput
Field Value
Type | Description |
---|---|
float |
RawSteeringInput
Steering input without any processing.
Declaration
public float RawSteeringInput
Field Value
Type | Description |
---|---|
float |
RawThrottleInput
Throttle input without any processing.
Declaration
public float RawThrottleInput
Field Value
Type | Description |
---|---|
float |
ShiftDownInput
Transmission shift down input.
Declaration
public bool ShiftDownInput
Field Value
Type | Description |
---|---|
bool |
ShiftUpInput
Transmission shift up input.
Declaration
public bool ShiftUpInput
Field Value
Type | Description |
---|---|
bool |