|Topic was automatically imported from the old Question2Answer platform.
Hello, I’m really in a mess due to AStar2D.
The problem is that my pathfinder finds a way by converting it to points based on position.
But that position is usually the player’s position, so how do you move away from the player?
Multiply by (-1), so if the player is still, mob will be the same. If we simply get the direction, we don’t know the location of the structure and it will collide.
Any help in resolving the problem would be greatly appreciated! and sorry for my sloppy writing with a translator.