use of com.jme3.bullet.joints.motors.TranslationalLimitMotor in project jmonkeyengine by jMonkeyEngine.
the class SixDofJoint method gatherMotors.
private void gatherMotors() {
for (int i = 0; i < 3; i++) {
RotationalLimitMotor rmot = new RotationalLimitMotor(((Generic6DofConstraint) constraint).getRotationalLimitMotor(i));
rotationalMotors.add(rmot);
}
translationalMotor = new TranslationalLimitMotor(((Generic6DofConstraint) constraint).getTranslationalLimitMotor());
}
Aggregations