private native float getHingeAngle(long objectId);
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule capsule = ex.getCapsule(this);
capsule.write(axisA, "axisA", new Vector3f());
capsule.write(axisB, "axisB", new Vector3f());
capsule.write(angularOnly, "angularOnly", false);
capsule.write(getLowerLimit(), "lowerLimit", 1e30f);
capsule.write(getUpperLimit(), "upperLimit", -1e30f);
capsule.write(biasFactor, "biasFactor", 0.3f);
capsule.write(relaxationFactor, "relaxationFactor", 1f);
capsule.write(limitSoftness, "limitSoftness", 0.9f);
capsule.write(getEnableMotor(), "enableAngularMotor", false);
capsule.write(getMotorTargetVelocity(), "targetVelocity", 0.0f);
capsule.write(getMaxMotorImpulse(), "maxMotorImpulse", 0.0f);
}