Modify pathfinding cost - DetourNavMeshQuery subclass

No, I didn’t change the engine code. I have just overridden some classes (yes, there are many…) and of course I had to use some castings. Here is a gist with my navmesh code:

file
file

Take a look and tell me if you have any doubt. Most of the methods are equal to the unreal source code except a few like getVirtualCost.