Is there a way to trace along an AI path?

Is there a way to perform a trace, like a line trace, but that follows an AI navigation path? I want this so I can detect doors and other obstacles in the way of the AI.

Here’s another thread that I think can help you out:

Basically calling FindPathToLocationSynchronously gets you the points on the path, so you could trace between each point. But I would recommend trying to put collision volumes for doors and obstacles and then having the AI respond to them while navigating. It could be more efficient.