Hi guys,
this is my first attempt using navmesh, i learned a lot this few last days, but at some point it's not completly understandable.
the main point for now, is this:
i made a mob, wich is randomly changing his direction, and move to the point following the navmesh possibilities.
ok, it works, it move to the point, but how can i trigger the arrival of this point?
i'm wondering... i can maybe compare Vector3 X,Z from the mob to the vector 3 of his target position, but in this case, the value must be exactly the same.
isn't it a faster and easiest way to tell the nav mesh agent at end, follow next event ?
I fund a RemainingDistance Variable so i can Get this information and compare it To 0, but it's always at 0...
Should i set it with a manual calculation ?
Well, i also tested using Pathfinding Actions
Get Agent Remaining Distance Still locked at 0.
there is certainly something i didn't catched about it.