/// <summary>
        ///     Smoothes the current path
        /// </summary>
        public GlobalPath SmoothPath(GlobalPath currentSolution)
        {
            GlobalPath currentSmoothedSolution = null;

            currentSmoothedSolution = StringPullingPathSmoothing.SmoothPath(Character.KinematicData,
                                                                            currentSolution);
            currentSmoothedSolution.PathPositions.Add(Position);
            currentSmoothedSolution.CalculateLocalPathsFromPathPositions(
                Character.KinematicData.position);
            // currentSmoothedSolution.LastParam = lastParam;

            return(currentSmoothedSolution);
        }