Closed mgoadric closed 9 years ago
Hi,
You may want to ping Sebastian Ludwig, who created the behavior. I'll take a look as soon as I get a breather.
Hi,
Any more notes on this? As I mentioned I'm not using SteerForNavmesh myself, and since I'm doing a UnitySteer clean-up, I was wondering if you had contacted Sebastian about it.
I couldn't seem to ever end up in the else block in lines 164-170 in SteerForNavmesh, even when my agents were far away from the Navmesh. They would return very far away edges and try to navigate to them incorrectly. I think this is due to the use of the same NavMeshHit object in both lines 150 and 155. If I create a new NavMeshHit object for use in line 155, then it hits the else block when it should.