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

Vehicle::setSteerBias

Материал из RAGE MP Wiki Archive
Версия от 23:48, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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