Drawing a line between patrol points.

I have patrolling NPCs, who walk between patrol points. For ease of debugging, I would like to draw a line between each patrol point in Edit mode.

How would I do this?

There is a node called DrawDebugLine, which takes 2 vectors for start and end location as arguments, among other things.

You cannot use debug nodes in edit mode.

But spline & arrow looks half decent:

4 Likes

Cool, thank you.

Thank you sooo much! Debug lines just didnt do the job.
Is the update spline input deleting old splines? They disappear in my viewport but im afraid of ghost data because I never delete/clear the splines or the component on movement.