Vehicle Body
self:get_steering
SharedRetrieves the whole-chassis steering angle of the vehicle body
Syntax
local value = self:get_steering()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | value | Current steering angle in degrees |
Examples
local entity = physics.vehicle.create()
core.engine.print("info", "Vehicle body steering:", entity:get_steering())