I'm creating a b2BodyDef with the position set to (10,10). Then I run
world->CreateBody(&shDef);
but the b2Body is created at position (0,1). How can I fix the body creation so that it spawns at the desired location?
I know the body is in the wrong place because:
A. The rendering system isn't rendering it in the right place
B. Printing coords to cout
I know shDef is correct because I stepped through the routine with gdb, and the docs are here: http://linuxuser.at/elements/doc/box2d/classb2_body.htm
EDIT: I found the problem. Somehow, the box2D binary had gotten corrupted.