O
O
ooyshit2016-12-15 23:35:04
Unity
ooyshit, 2016-12-15 23:35:04

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

1 answer(s)
X
xmoonlight, 2016-12-16
@ooyshit

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 question

Ask a Question

731 491 924 answers to any question