Box2D relations
Posted
by
Valentino Ru
on Game Development
See other posts from Game Development
or by Valentino Ru
Published on 2013-11-04T23:40:22Z
Indexed on
2013/11/05
4:15 UTC
Read the original article
Hit count: 284
As far as I know, the unit in Box2D is meters. When I use Box2D in Processing with JBox2D, I set the "world size" as the window size specified in the setup().
Now I'm wondering if there is any function that scales down the world. For example, how can I simulate the throw of tennis ball within a room, without using a window of only 5 x 5 pixels?
Additionally, is there any good documentation like the Java API?
© Game Development or respective owner