@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule capsule = im.getCapsule(this);
        this.rotA = (Matrix3f) capsule.readSavable("rotA", new Matrix3f());
        this.rotB = (Matrix3f) capsule.readSavable("rotB", new Matrix3f());

        this.angularOnly = capsule.readBoolean("angularOnly", false);
        this.swingSpan1 = capsule.readFloat("swingSpan1", 1e30f);
        this.swingSpan2 = capsule.readFloat("swingSpan2", 1e30f);
        this.twistSpan = capsule.readFloat("twistSpan", 1e30f);
        createJoint();
    }
@param nodeA the body for the A end (not null, alias created)
@param nodeB the body for the B end (not null, alias created)
@param pivotA local translation of the joint connection point in node A
@param pivotB local translation of the joint connection point in node B
@param rotA the joint orientation in A's local coordinates (rotation
matrix, alias created)
@param rotB the joint orientation in B's local coordinates (rotation
matrix, alias created)
jme3-jbullet/src/main/java/com/jme3/bullet/joints/ConeJoint.java