I thought I'd try to get a hang of the b2ContactListener class but bumped into problems pretty much right off the bat.
I've made a class inheriting from b2ContactListener and I'm overriding the functions with simple console print outs to just watch when they're triggered.
I set the new contact listener to the b2World. Running the program, everything is fine until something collides, which results in the program simply exiting without any debug information and the exit code 3. Anyway, I'm on my way to finding the error. Some faulty accessing, but it's difficult without the debug.
Why doesn't Box2D return debug info (using VC++ 2008)?
I've made a class inheriting from b2ContactListener and I'm overriding the functions with simple console print outs to just watch when they're triggered.
I set the new contact listener to the b2World. Running the program, everything is fine until something collides, which results in the program simply exiting without any debug information and the exit code 3. Anyway, I'm on my way to finding the error. Some faulty accessing, but it's difficult without the debug.
Why doesn't Box2D return debug info (using VC++ 2008)?