self:get_skidinfo
Client
Retrieves the current skid amount of the wheel, where 0 is full traction loss and 1 is full traction
Syntax
local value = self:get_skidinfo()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | value | Current skid info |
Examples
local car = physics.vehicle.create()
local entity = physics.vehicle_wheel.create(car)
core.engine.print("info", "Vehicle wheel skid info:", entity:get_skidinfo())