self:get_angular_damp

Client

Retrieves the angular damping of the rigid 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 rigid body
local entity = physics.rigid.create()

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

On this page