glutTimerFunc() and world.Step() works fine, thanks to Tim Chan and his demo.
link: http://www.box2d.org/forum/viewtopic.php?f=5&t=158
there is another problem with shape and body.(when I draw using body->getposition, it works well, but when I draw using shape->getverices, works weird, but it shouldn't be like that, I mean, drawing and physics simulation don't interfere with each other)
box2d seems to work in a strange way, or is it my mistake..
I m gonna find that out.
link: http://www.box2d.org/forum/viewtopic.php?f=5&t=158
there is another problem with shape and body.(when I draw using body->getposition, it works well, but when I draw using shape->getverices, works weird, but it shouldn't be like that, I mean, drawing and physics simulation don't interfere with each other)
box2d seems to work in a strange way, or is it my mistake..
I m gonna find that out.

Leave a comment