self:set_steering
Client
Sets the per-wheel steering angle override
Syntax
local status = self:set_steering(
steering
)Parameters
| Type | Name | Description |
|---|---|---|
float | steering | Per-wheel steering angle override to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local car = physics.vehicle.create()
local entity = physics.vehicle_wheel.create(car)
entity:set_steering(0.3)