GetVehicleWheelSteerAngle: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Returns the steering angle from 0.0 to ~45.0 (depending on vehicle)}} | ||
{{FuncSyntax|GetVehicleWheelSteerAngle(vehicle, wheel)}} | {{FuncSyntax|GetVehicleWheelSteerAngle(vehicle, wheel)}} | ||
Line 7: | Line 7: | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|vehicle|The vehicle identifier.}} | {{FuncParam|vehicle|The vehicle identifier.}} | ||
{{FuncParam|wheel| | {{FuncParam|wheel|Vehicle wheel starting at 0}} | ||
{{FuncReturnValue|Returns the steering angle of the wheel.}} | {{FuncReturnValue|Returns the steering angle of the wheel.}} | ||
== Example == | == Example == | ||
Example on GitHub: https://github.com/vugi99/onset-vdebug/blob/6f5caaa907fb1618a01cac47bd8ae69c59548b9d/client/cl_vdebug.lua#L106 | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[SetVehiclePropertyValue]] | |||
*[[GetVehiclePropertyValue]] | |||
*[[GetVehicleCount]] | |||
*[[GetVehicleLicensePlate]] | |||
*[[IsValidVehicle]] | |||
*[[GetStreamedVehicles]] | |||
*[[GetVehicleBoneLocation]] | |||
*[[GetVehicleBoneNames]] | |||
*[[GetVehicleModel]] | |||
*[[GetVehicleLocation]] | |||
*[[GetVehicleRotation]] | |||
*[[GetVehicleVelocity]] | |||
*[[GetVehicleForwardVector]] | |||
*[[GetVehicleRightVector]] | |||
*[[GetVehicleUpVector]] | |||
*[[GetVehicleBoundingBox]] | |||
*[[GetVehicleEngineRPM]] | |||
*[[GetVehicleForwardSpeed]] | |||
*[[GetVehicleGear]] | |||
*[[GetVehicleWheelSurface]] | |||
*[[IsVehicleWheelInAir]] | |||
*[[IsVehicleInAir]] | |||
*[[GetVehicleWheelSteerAngle]] | |||
*[[IsVehicleHornActive]] | |||
*[[GetVehicleEngineState]] | |||
*[[GetVehicleLightState]] | |||
*[[GetVehicleHoodRatio]] | |||
*[[GetVehicleTrunkRatio]] | |||
*[[IsVehicleInWater]] | |||
*[[IsVehicleSeatOccupied]] | |||
*[[GetVehicleDoorLocation]] | |||
*[[GetVehicleHealth]] | |||
*[[GetVehicleSkeletalMeshComponent]] |
Latest revision as of 15:17, 23 December 2020
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
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- GetVehicleCount
- GetVehicleLicensePlate
- IsValidVehicle
- GetStreamedVehicles
- GetVehicleBoneLocation
- GetVehicleBoneNames
- GetVehicleModel
- GetVehicleLocation
- GetVehicleRotation
- GetVehicleVelocity
- GetVehicleForwardVector
- GetVehicleRightVector
- GetVehicleUpVector
- GetVehicleBoundingBox
- GetVehicleEngineRPM
- GetVehicleForwardSpeed
- GetVehicleGear
- GetVehicleWheelSurface
- IsVehicleWheelInAir
- IsVehicleInAir
- GetVehicleWheelSteerAngle
- IsVehicleHornActive
- GetVehicleEngineState
- GetVehicleLightState
- GetVehicleHoodRatio
- GetVehicleTrunkRatio
- IsVehicleInWater
- IsVehicleSeatOccupied
- GetVehicleDoorLocation
- GetVehicleHealth
- GetVehicleSkeletalMeshComponent