private static BoxCollisionShape createSingleBoxShape(Spatial spatial, Spatial parent) {
        //TODO: using world bound here instead of "local world" bound...
        BoxCollisionShape shape = new BoxCollisionShape(
                ((BoundingBox) spatial.getWorldBound()).getExtent(new Vector3f()));
        return shape;
    }
Use the bounding box of the supplied spatial to create a
BoxCollisionShape.

@param spatial the spatial on which to base the shape (not null)
@param parent unused
@return a new shape with the dimensions of the spatial's bounding box
(not null)
jme3-jbullet/src/main/java/com/jme3/bullet/util/CollisionShapeFactory.java