public void translateTo(Vector3d translation) { transform.setTranslationAndIdentityRotation(translation); }
public void translate(double x, double y, double z) { RigidBodyTransform translator = new RigidBodyTransform(); translator.setTranslationAndIdentityRotation(new Vector3d(x, y, z)); transform.multiply(translator); }