I have a project where I have 1 character (playable) and 2 NPC's (AI).
The NPC's are programmed to meet 2 target points.
Below is an image to facilitate understanding:
As you can see, this green path is the full extent of the terrain that both my character and NPC's can walk through.
I know that in order for my character to traverse the full extent of the terrain, it is only necessary to add a nav mesh bound that covers the entire length of the terrain, but doing so the NPC's would cut their path:
CODE NPC'S:
I've made the target variable editable, so I can choose the target in the level editor.
I would like to know the simplest way to make the playable character go all over the terrain and the NPC's to follow the green route.