GetVehicleWheelSteerAngle: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
== 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