GetVehicleWheelSteerAngle
From Onset Developer Wiki
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