working with the repository version

Hi, I'm using the JBox2D version on googlecode, I've download the one under updating folder: http://jbox2d.googlecode.com/svn/trunk/ ... /java/org/
(is this the newest version?)

I don't understand how to set the MASS, in fact there's no more setMassFromShapes()
so Static and Kinematic bodies are OK but Dynamics body does not move! and if I print body.getMass() it is 0.0

I think i just misunderstood the new structure of Jbox2d (i was using the 2.0.1 before this)

thx!
kinematic bodies don't have a mass, I dont think. They can move around, but they don't really react from other bodies (i think). I'll see if I can make the kinematic body demo. Or maybe the codes wrong, which wouldn't be a far stretch, as I'm completely re-updating the engine 🙂

Original thread: https://box2d.org/forum/viewtopic.php?t=5516