AI Intercept

Hey guys,

I feel like there is a simple answer to this question and it’s already listed somewhere, but after searching here and the web I couldn’t find any ideas to get me started. I’m making a game where the player moves in a 3d world and the AI need to move to intercept and/or chase the player. The player can move to change his position and I’d like the AI to continually attempt to follow. I’ve tried adding lines in Update, but whatever I’m doing isn’t working.

Any ideas or examples would be greatly appreciated!

Basically, I think I need to continually update the path. Either continually or any time the player moves. In my case, the player will almost always be moving.

Hi

Yes, recalculating the path once or twice per second is usually how you do it.