Перейти к содержанию

Vehicle::setSteerBias

Материал из RAGE MP Wiki Archive

Locks the vehicle's steering to the desired angle, explained below.

Requires to be called onTick. Steering is unlocked the moment the function stops being called on the vehicle.

Steer bias:
-1.0 = full right
0.0 = centered steering
1.0 = full left

Syntax

<syntaxhighlight lang="javascript">vehicle.setSteerBias(value);</syntaxhighlight>

Required Arguments

  • value: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also