A
A
Armyashka2020-04-26 23:01:09
C++ / C#
Armyashka, 2020-04-26 23:01:09

How to implement artificial intelligence of a bot chasing a player?

I'm making a top-down shooter game. The bot turns after the player. I want the bot to follow the player. I tried the MoveTowards method, but it's too twitchy.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2020-04-26
@mindtester

1 - get an education in AI
2 - design the desired AI available at the current technological level
3 - implement
ps short way - order and buy

S
Sergei Iamskoi, 2020-04-27
@syamskoy

Recently I came across lessons on such functionality on YouTube: https://youtu.be/2yQx_587ENk there are several series, just what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question