self:set_angular_damp

Client

Sets the angular damping of the vehicle body


Syntax

local status = self:set_angular_damp(
    damp
)

Parameters

TypeNameDescription
floatdampAngular damping value to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the angular damp of a vehicle body
local entity = physics.vehicle.create()

entity:set_angular_damp(0.1)

On this page