self:get_max_contacts_reported
Client
Retrieves the maximum number of contacts tracked by the rigid body when contact monitoring is enabled
Syntax
local amount = self:get_max_contacts_reported()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | amount | Maximum contacts reported |
Examples
local entity = physics.rigid.create()
core.engine.print("info", "Rigid body max contacts reported:", entity:get_max_contacts_reported())