I have a question about AI Navigation and movement cost modification at runtime.
My goal is to use a NavMeshModifer’s NavArea to alter the movement cost of Agents, however i want the NavArea’s Default Cost to dynamically change based on some number of run time variables.
For example: I would want the Default Cost of moving inside the NavMeshModifer to be proportional to the amount of time the game has been running.
From what i can see, the ANavMeshModifer takes a Static NavArea class, which would mean it would be hard to call some dynamic cost calculation function for the NavArea at runtime.
Is there any way i can alter the cost of moving in a NavMeshModifer dynamically during runtime?