JBox2D
Hello !
Has any one ever tried to make the Java library JBox2d work in mxj ? Does it requiers the use of an IDE such as Eclipse (I hate dealing with IDE and libraries).
Has anyone good results or any way to get start with ?
The idea is to make a kind simple of game engine within MAX.
Thanks
Nico
Hi
never tried jbox2d ... but I've been using this Max external a lot, and it's great :
http://charles.bascou.free.fr/box2d/
but nowadays, with Max's jit.phys.* , what would be the advantage of box2d ?...
Mathieu
I managed to set up eclipse and add the librairies. Now there is a problem with dependancies and the use of maven. Has anyone ever have to deal with this ? I cant include what was made by maven in m'y project. i want to use jbox un ordre to have more control on whats going on. It would be painful to do it by patching. Then i will output a matrix fort the results.
Is it possible to use jit.phys within mxj knowing that there is no dict object to get the results of a
collision ?
without knowing the definate answer my guess is you can't. Max-Java is in maintence mode, meaning not actively developed anymore, since before jit.phys.* appeared....
OK. I could run an mxj external with some jbox2d classes. If anyone is interested I can give the instructions to make it work. If anyone has an other solution to do physics by using some code within max, I would like to know how to do it.
Nicolas.
Finally I found an other solution which is dyn4j, a JAVA 2D library which is younger than box2d. It is very easy to include in mxj compared to jbox2d. It is entierly made in JAVA and seems to a be a good way to have a game engine as a Max patch controller, which was what I wanted to do when I wrote this post.