Archive for the 'box2d' Category



view applet, download source
Above is a new Box2D Processing example that demonstrates two key aspects of working with Box2D:
1) Though tempting as it may be, you cannot set the location manually of an object in the Box2D world and expect the physics to continue to work. Box2D doesn’t understand teleportation (which is the equivalent [...]

 
I’m pleased to announce I’ve published a first draft of a tutorial about using Box2D in Processing.
Tutorial: http://www.shiffman.net/teaching/nature/box2d-processing/
Google code repository: http://code.google.com/p/pbox2d/
I’m struggling here to figure out whether I’m (a) creating a Processing Box2D library or (b) simply creating a tutorial and set of examples piggybacking off of JBox2D. For now, I’m doing [...]




You are currently browsing the daniel shiffman weblog archives for the 'box2d' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Categories