point.setPointSize(10f);
_root.attachChild(point);
// Create our controller
final CurveInterpolationController controller = new CurveInterpolationController();
controller.setCurve(curve);
controller.setActive(true);
controller.setUpdateField(UpdateField.LOCAL_TRANSLATION);
controller.setSpeed(10.0);
controller.generateArcLengths(10, true); // we must pass true as can switch to cycle repeat type at runtime
controller.setConstantSpeed(true);
return controller;
}