GetVehicleWheelSteerAngle

From Onset Developer Wiki
Revision as of 15:16, 23 December 2020 by BlueMountains (talk | contribs)
GetVehicleWheelSteerAngle

Type: Function
Context: Client
Introduced: v1.0

Description

Returns the steering angle from 0.0 to ~45.0 (depending on vehicle)

Syntax

GetVehicleWheelSteerAngle(vehicle, wheel)

Parameters

  • vehicle
    The vehicle identifier.
  • wheel
    Vehicle wheel starting at 0

Return Value

  • Returns the steering angle of the wheel.

Example

Example on GitHub: https://github.com/vugi99/onset-vdebug/blob/6f5caaa907fb1618a01cac47bd8ae69c59548b9d/client/cl_vdebug.lua#L106

See also

__EDIT_ME__