self:is_debug_visible
Client
Checks whether the debug wireframe of the collision shape is currently visible
Syntax
local result = self:is_debug_visible()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the debug wireframe is visible, false otherwise |
Examples
local body = physics.rigid.create()
local entity = physics.collision_shape.create(body)
core.engine.print("info", "Collision shape debug visible:", entity:is_debug_visible())