WorldDebug()

Syntax

Result = WorldDebug(Mode)
Description
Changes the world debug mode. 'Mode' can be a combination of the following constants:
  - #PB_World_DebugNone  : no debug information (default).
  - #PB_World_DebugEntity: shows the entities bounding boxes.
  - #PB_World_DebugBody  : shows the physics bodies, both static and dynamic.
This can be very useful to help finding issues with collisions or picking for example.

Supported OS

All

<- Sun() - Engine3D Index - WorldGravity() ->