@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(enabled, "enabled", true);
        oc.write(spatial, "spatial", null);
    }
Creates a new PhysicsNode with the supplied collision shape
@param shape the desired collision shape
jme3-examples/src/main/java/jme3test/bullet/PhysicsHoverControl.java