I have a small issue with Box2D in a context specific to my game engine framework. My game engine uses two separate methods, one for frames/steps and the other to draw everything. Doing this helps keep my code clean. Anyways, I wanted to enable debug drawing to help with troubleshooting but it seems Box2D calls b2World::DebugDrawData() with b2World::Step(). After b2World::Step() gets called in my frame method my draw method gets called and clears the screen and such (overwriting the debug info).
It was no big deal to patch in a fix for my engine but I was wondering- would make sense to separate DebugDrawData() from Step() somehow? Has anyone else run into this?
btw- I just registered and that human verification image is so freakin' frustratingly impossible to read! I initially tried 10 times and eventually got locked out 😆
It was no big deal to patch in a fix for my engine but I was wondering- would make sense to separate DebugDrawData() from Step() somehow? Has anyone else run into this?
btw- I just registered and that human verification image is so freakin' frustratingly impossible to read! I initially tried 10 times and eventually got locked out 😆