this.biasFactor = capsule.readFloat("biasFactor", 0.3f);
this.relaxationFactor = capsule.readFloat("relaxationFactor", 1f);
this.limitSoftness = capsule.readFloat("limitSoftness", 0.9f);
boolean enableAngularMotor = capsule.readBoolean("enableAngularMotor", false);
float targetVelocity = capsule.readFloat("targetVelocity", 0.0f);
float maxMotorImpulse = capsule.readFloat("maxMotorImpulse", 0.0f);
createJoint();
enableMotor(enableAngularMotor, targetVelocity, maxMotorImpulse);
setLimit(lowerLimit, upperLimit, limitSoftness, biasFactor, relaxationFactor);