self:set_angular_damp

Client

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

entity:set_angular_damp(0.1)

On this page