SetPhysicsDebugOn

Description

Enables the drawing of internal physics shapes on screen. If you SetViewOffset to something other than 0,0 make sure none of your physics sprites are fixed to the screen using FixSpriteToScreen otherwise the debug shapes will not line up. Debug outlines are drawn as world sprites.

The debug output will draw the shape of every physics sprite set using SetSpritePhysicsOn and all non physics sprites that have a shape assigned for non-physics collision commands. The shapes will be drawn in the following colors: Cream=Dynamic physics object, Green=Static physics object, Dark Blue=Kinematic physics object, Light Blue=Non-physics object. Grey=Sleeping dynamic physics object. Additionally physics objects will be drawn as shaded with an outline, non-physics objects will be an outline only.

Definition

SetPhysicsDebugOn()