self:is_contact_monitor_enabled

Client

Checks whether contact monitoring is enabled on the rigid body


Syntax

local result = self:is_contact_monitor_enabled()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the condition is met, false otherwise

Examples

Check contact monitoring on a rigid body
local entity = physics.rigid.create()

core.engine.print("info", "Rigid body contact monitor enabled:", entity:is_contact_monitor_enabled())

On this page