It would be really cool if the TestBed had a mode to draw vectors for user-applied forces. This would help in debugging that the magnitudes are sane, but more importantly, that they are being applied to the point that we think they should be. Or maybe this is already there and I didn't find it?
TestBed feature: show applied force vectors
General DiscussionI suggest drawing the forces yourself when you apply them. This will let you have more granular control over the coloring, filtering, etc.
Yah, I do this. My only notion was that for debugging purposes, when something unknown is failing, more confidence comes from using less of your own code. A test bed forces feature could help determine "am I applying this in the right place, do I have the coordinates right"... that sort of thing.
cheers!
cheers!
Original thread: https://box2d.org/forum/viewtopic.php?t=1637