public void enableDebugShape(AssetManager manager, Node rootNode) {
        assetManager = manager;
        // computeTotalLength();
        attachDebugNode(rootNode);
    }
enable the display of the path and the waypoints
@param manager the assetManager
@param rootNode the node where the debug shapes must be attached
jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java