Type Function Library physics.* Return value Boolean Revision Release 2024.3703 Keywords Box2D, internal, asserts, run-time, error See also physics.setDebugErrorsEnabled()
This function is used to determine if extra physics errors are allowed to be caught by Box2D.
This feature is currently available only in the Mac simulator.
false
(default) — Disabled.true
— Enabled.physics.getDebugErrorsEnabled()
-- Toggle physics errors for debugging. if ( physics.getDebugErrorsEnabled() ) then physics.setDebugErrorsEnabled( false ) else physics.setDebugErrorsEnabled( true ) end