We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, what exactly do I have to do to be able to use JBox2D in Processing? I tried to follow the instruction here: http://natureofcode.com/book/chapter-5-physics-libraries/ but I'm a bit confused ...
Thanks!
Answers
You need to download only one library - shiffman's box2D for processing using library manager. Then you can try to explore examples, you may want also to re-read that chapter of nature of code, cause it is acually not that easy, especially if you're doing something more then just falling boxes.
Thanks, that's actually what I tried:
But that gives me a 'the class PBox2D does not exist' error?
And yes, this is heavy stuff :D
I think I'll skip to the next chapter, the one about autonomous agents. Seems that one does not require knowledge of the previous one.
Box2DProcessing instead of PBox2D works for me in Processing's current versin of Box2D
it's been Box2DProcessing for about 4 years now according to github
https://github.com/shiffman/Box2D-for-Processing/tree/master/Box2D-for-Processing/src/shiffman/box2d
how old is the book?
ah...
question itself is from 2015...