I am working on a project that uses a simple AI to navigate the environment by using navmesh agent. The issue at hand is for the AI to notice that it have passed a certain section of the environment. To do that, the AI should be capable to record its' traversed region based on its' past trajectory. Can anyone help to provide some feasible ideas?