public void setCurrentWayPoint(int currentWayPoint) {
        this.currentWayPoint = currentWayPoint;
    }
This method is meant to be called by the motion path only.

@param currentWayPoint the desired waypoint index
jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java