Lines Matching refs:constraint
46 * Hinge constraint, or revolute joint restricts two additional angular degrees of freedom,
77 ((HingeConstraint) constraint).enableAngularMotor(enable, targetVelocity, maxMotorImpulse);
81 ((HingeConstraint) constraint).setLimit(low, high);
88 ((HingeConstraint) constraint).setLimit(low, high, _softness, _biasFactor, _relaxationFactor);
92 return ((HingeConstraint) constraint).getUpperLimit();
96 return ((HingeConstraint) constraint).getLowerLimit();
101 ((HingeConstraint) constraint).setAngularOnly(angularOnly);
105 return ((HingeConstraint) constraint).getHingeAngle();
116 capsule.write(((HingeConstraint) constraint).getLowerLimit(), "lowerLimit", 1e30f);
117 capsule.write(((HingeConstraint) constraint).getUpperLimit(), "upperLimit", -1e30f);
123 capsule.write(((HingeConstraint) constraint).getEnableAngularMotor(), "enableAngularMotor", false);
124 capsule.write(((HingeConstraint) constraint).getMotorTargetVelosity(), "targetVelocity", 0.0f);
125 capsule.write(((HingeConstraint) constraint).getMaxMotorImpulse(), "maxMotorImpulse", 0.0f);
148 ((HingeConstraint) constraint).setLimit(lowerLimit, upperLimit, limitSoftness, biasFactor, relaxationFactor);
152 constraint = new HingeConstraint(nodeA.getObjectId(), nodeB.getObjectId(),