public void PlaySelectedPath() { if (_selectedPath == null) { return; } _pathWalker.Waypoints.Clear(); _pathWalker.Loop = false; _pathWalker.Sensitivity = 2.0; for (int i = 0; i < _selectedPath.Count; i++) { Coordinate pnt1 = (new Coordinate(_selectedPath[i].X / _mapArr.ArrScale + _mapArr.Min.X, _selectedPath[i].Y / _mapArr.ArrScale + _mapArr.Min.Y, 0)); _pathWalker.Waypoints.Add(pnt1); } _pathWalker.CleanWaypoints(3.0); //_pathWalker.Save("D:\\test.nav"); _pathWalker.Start(); }