Physics Location with object

hi, i have been working with the physics system of jme3, and im trying to move the physics in the obj model but i can not do it.

this is the code i have been using

CompoundCollisionShape compoundShape = new CompoundCollisionShape();

BoxCollisionShape box = new BoxCollisionShape(new Vector3f(8f, 4f, 8f));

compoundShape.addChildShape(box, new Vector3f(100, 100, 10));//0 1 0

Spatial torre = nodo.getChild(“Cassegrain-objnode”);

RigidBodyControl tor = new RigidBodyControl(box);

tor.setPhysicsLocation(new Vector3f(0,0,100));



no matter what i do, the physics its always on the center of the object, so its like there something invisible down the object.

does anyone knows how to change this???

here its a picture:


did you scale /move it before or after adding physics?, i always add physics at the end, it prevents problems like this.

first i move the object and then i add the physics, in the first post you can see the code.

by the way, the objects on the scene were add by the graphic interface in the scene, not by code, i dont know if has something to do with my problem…