A* Pathfinding Project

The enemy moves to the coordinates below the player's coordinates


#1

I am using ‘RecastGraph’ and ‘AI Path’.
However, when the player is on the second floor, the Enemy Character moves downstairs.
At this time it is not known why this is happening.
I need help resolving this phenomenon.

ps. This article has been translated by Google Translator.


#2

Hi

Make sure that the pivot point of the characters are at their feet. If they are at the center of the character it may happen that the nearest part of the navmesh is on the wrong floor.

If this does not help, do you think you could post a screenshot?