public int getCurrentWayPoint() {
        return currentWayPoint;
    }
This method is meant to be called by the motion path only.
@return the waypoint index
jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java