Attempts to set a vehicle weapon's aim angle to a specific value relative to its minimum value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits).

The returned value is in radians, with 0 indicating the lowest angle allowed for the vehicle weapon and increasing values for upward aim.


See also Vehicle functions.

Signature:

VehicleAimRequestNormAngle(amount)

Arguments:

  • amount - New aim angle (in radians) (number)