self:get_roll_influence
Client
Retrieves the roll influence of the wheel, controlling how much it affects vehicle body roll
Syntax
local value = self:get_roll_influence()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | value | Current roll influence |
Examples
local car = physics.vehicle.create()
local entity = physics.vehicle_wheel.create(car)
core.engine.print("info", "Vehicle wheel roll influence:", entity:get_roll_influence())