DEPRECATED class left for backwards compatibility, methods are available on car itself now.
More...
DEPRECATED class left for backwards compatibility, methods are available on car itself now.
◆ CarController()
◆ ~CarController()
◆ GetBrake()
Returns the current brake value in range <0, 1>.
◆ GetGear()
Returns index of the current gear.
◆ GetSteering()
proto float GetSteering |
( |
| ) |
|
|
private |
Returns the current steering value in range <-1, 1>.
◆ GetThrust()
proto float GetThrust |
( |
| ) |
|
|
private |
Returns the current thrust value in range <0, 1>.
◆ GetThrustGentle()
proto float GetThrustGentle |
( |
| ) |
|
|
private |
Returns the current thrust gentle modifier value in range <0, 1>.
◆ GetThrustTurbo()
proto float GetThrustTurbo |
( |
| ) |
|
|
private |
Returns the current thrust turbo modifier value in range <0, 1>.
◆ SetBrake()
Sets the brake value.
- Parameters
-
in | should be in range <0, 1> |
panic | should be in range <0, 1> |
◆ SetSteering()
proto void SetSteering |
( |
float |
in, |
|
|
bool |
analog = false |
|
) |
| |
|
private |
Sets the steering value.
- Parameters
-
in | should be in range <-1, 1> |
analog | indicates if the input value was taken from analog controller |
◆ SetThrust()
Sets the thrust value.
- Parameters
-
in | should be in range <0, 1> |
gentle | should be in range <0, 1>, thrust modifier |
turbo | should be in range <0, 1>, thrust modifier |
◆ ShiftDown()
◆ ShiftTo()
proto void ShiftTo |
( |
CarGear |
gear | ) |
|
|
private |
◆ ShiftUp()
The documentation for this class was generated from the following file:
- P:/scripts/3_Game/Vehicles/Car.c