B2DebugDraw

From Box2D Wiki

b2DebugDraw
Box2D/Dynamics
Visibility Public
Manual reference [1]
API reference [2]
Source reference H.png Cpp.png

b2DebugDraw provides a simple mechanism for displaying the world, intended for debugging use only. For more advanced usages, you should implement your own drawing mechanism.

The specifics of usage depend on implementation, but all classes allow you to selectively display:

Available implementations

Box2D itself is agnostic of display, but there exist implementations for a variety of outputs. Please add your own links here.

In the C++ package:

In the Flash package:

  • Flash Drawing API

In the Java package:

In the wild:


TOOLBOX
LANGUAGES