Ladies and Gentlemen, I give you…
http://odejava.org/demo/MultiGeomSupport.jpg
Multi-Geom (GeomTransform) Support ;D
(those two boxes are seperate GeomBoxs attached to the same body, there are no joints)
Example code:
Body boxBody = new Body("box", world);
GeomBox a = new GeomBox(4f, 4f, 4f);
boxBody.addGeom(a);
GeomBox d = new GeomBox(6f, 1f, 1f);
GeomTransform dt = new GeomTransform();
dt.setEncapsulatedGeom(d);
boxBody.addGeom(dt);
d.setPosition(new Vector3f(0.1f,3f,2f));
Will.