hello, i'm trying (as others have mad before me) to use processing to draw and jbox2d to do the magic.
but i still unable to recover all necessary info from shapes and bodies.
maybe i'm missing some special signature?
here's the pastebin of what i'm trying for now:
http://pastebin.com/4TXUVHKj
please i need advice specially in the draw() phase. There i can recover rotation and position, but i don't know how to recover the box extension;
also i know that i should not translate it directly to pixels (seems that i'll be shot, hehe), but i just want in this moment to draw my box and see the correct collision in the correct height.
thanks in advance
but i still unable to recover all necessary info from shapes and bodies.
maybe i'm missing some special signature?
here's the pastebin of what i'm trying for now:
http://pastebin.com/4TXUVHKj
please i need advice specially in the draw() phase. There i can recover rotation and position, but i don't know how to recover the box extension;
also i know that i should not translate it directly to pixels (seems that i'll be shot, hehe), but i just want in this moment to draw my box and see the correct collision in the correct height.
thanks in advance