ShowCol
Jump to navigation
Jump to search
Shows collision previews for developers.
Syntax
bool showCol ( bool state )
Required Arguments
- state: true/false
Returns
- If the operation is executed, it returns 'true', otherwise it returns 'false'.
Example
You can refer to the example below.
setDevelopmentMode(true)
addCommandHandler("devdebug",
function()
showCol(not isShowCollisionsEnabled())
end
)
Requirements
This template will be deleted.
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty