M
M
MeRRFiS2021-06-08 17:08:02
Unity
MeRRFiS, 2021-06-08 17:08:02

How to make the enemy seek the base?

Hello! I have tasks: there is a bot that aims at the enemy base. The bot can move in 4 directions (in 2d space), i.e. it cannot move diagonally. Each new game generates a new map with obstacles in the form of walls, naturally with a new base location. Please tell me how to make the bot aim for the base and avoid obstacles?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-06-08
@freeExec

googleNavMesh

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question