Answer the question
In order to leave comments, you need to log in
Problem with unity2d maze passage?
Good day.
There is a game like pacman. There is an algorithm that looks for the best path from the enemy to the player. The algorithm returns a list of coordinates as a result. The player moves the list of coordinates is constantly recalculated.
There is no way to implement the chase. Which way to look? Thank you for your time.
Answer the question
In order to leave comments, you need to log in
The pursuit is a recalculation of the list of coordinates on the level grid (ie not every frame!) according to the optimal path search algorithm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question