Point3f position2 = ProjectionHelper.getProjectionPoint(position1);
Point3f[] positions = new Point3f[] { position1, position2 };
Quat4f[] rotations = new Quat4f[] { rotationQuat, rotationQuat };
Alpha alpha = new Alpha(1, (long) (translationVector.getY() * 1000));
alpha.setStartTime(System.currentTimeMillis());
RotPosPathInterpolator gravity = new RotPosPathInterpolator(alpha, newTransformGroup, new Transform3D(), knots,
rotations, positions);
gravity.setSchedulingBounds(new BoundingSphere());
return gravity;
}