Box2D-for-Processing
Box2D-for-Processing copied to clipboard
debugdraw
probably should implement something for this
got a implement here: http://forum.processing.org/two/discussion/11669/box2d-debug-draw-class but with nullpointer exception when enable "DebugDraw.e_dynamicTreeBit"
This looks like a great start! Will try to delve deeper soon, but would welcome any help integrating.
You just need to change code from JBox2D to Processing API.
https://github.com/jbox2d/jbox2d/blob/master/jbox2d-testbed/src/main/java/org/jbox2d/testbed/framework/j2d/DebugDrawJ2D.java
I fixed the nullpointer exception when enable "DebugDraw.e_dynamicTreeBit". The remain unimplement method is a piece of cake.