import com.jme3.math.Vector3f;
import com.jme3.math.Spline.SplineType;
public class ShipDemoMotion extends ShipMotionPath {
public ShipDemoMotion() {
this.addShipWayPoint(new Vector3f(-1350, 0, 0), 0);
this.addShipWayPoint(new Vector3f(-500, 0, 0), 0);
this.addShipWayPoint(new Vector3f(0, -150, 0), 0);
this.addShipWayPoint(new Vector3f(300, -100, 0), 0);
this.addShipWayPoint(new Vector3f(500, 300, 0), 0);
this.addShipWayPoint(new Vector3f(500, 300, 500), 1);
this.addShipWayPoint(new Vector3f(500, 300, 1500), 0);
this.addShipWayPoint(new Vector3f(0, 300, 1500), 0.5f);
this.setCurveTension(1f);