particle system with pathfinding