SetYawSpeed( <speed>, <acceleration>, <deceleration>, <overshoot percent> )

Module: Vehicles


Sets the yaw speed for this vehicle.

Call this on:

a vehicle


self SetYawSpeed( 120, 60 );

Required Args:

  • 1 : <speed> The speed of the vehicle in angles per second
  • 2 : <acceleration> The acceleration of the vehicle in angles per second^2

Optional Args

  • 1 : <deceleration> Deceleration. If not specified, set to be equal to acceleration
  • 2 : <overshoot percent> How much to over shoot goal yaw by. Default 0.1