Draw the path found between 2 points

I want to visualize the path, which ist generated by the pathfinding. Is there a way to do it in blueprint or do I have to use C++?

My first guess with blueprint is to use a pawn which is invisible and moved to the point by the moveto function and on every frame that pawn paints something to the ground… Sounds a bit crappy. :smiley:

Did you ever find a solution to this? I’m looking to do the same thing.

You can either use the DrawDebugLine function in C++ or in Blueprint, you just have to make sure the lifetime is set to -1 (infinite). To delete those lines just call the FlushPersistentDebugLines function.

Cheers,
Moss

EDIT: I’ll resolve the issue for now. If you still require help on it please let me know.

Did the solution I proposed work for you?