self:get_angular_damp

Client

Retrieves the angular damping of the vehicle body


Syntax

local value = self:get_angular_damp()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatvalueCurrent angular damping

Examples

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

core.engine.print("info", "Vehicle body angular damp:", entity:get_angular_damp())

On this page