GetVehicleWheelSteerAngle: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 12: Line 12:


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


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
__EDIT_ME__

Revision as of 15:16, 23 December 2020

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__