Runtime exclude path in line of sight

Dear All,

I am trying to figure how should i make the path in the line of sight unusable within a specified range by the enemy ai , furthermore to make the ai go around the player out of his line of sight .

Thanks in advance .

I was thinking about cutting the path dynamically in front of the player however that would affect all my agents and some have a different behaviour


You may be able to use the ITraversalProvider interface for this. See