- Home /
Question by
Frobegames · Nov 23, 2020 at 05:34 PM ·
aitimetrackingreset-position
A.I That tracks the player then resets
I'm making a game where you tend to a campfire to keep an enemy away. My problem is that since the player is stationary I need the A.I to Track the player and get closer the lower the fire becomes then resets if it gets higher, how would I go about doing this?.
Comment
Answer by TjazS · Dec 10, 2020 at 07:52 PM
Try doing navmeshagent.stoppingDistance = campfireValue/or something else @Frobegames
Your answer
Follow this Question
Related Questions
Keeping track of lots of entities 2 Answers
A set of actions 1 Answer
Script is Flipping Out! 2 Answers
Load and Compilation time issues 0 Answers
Problem with AI tracking object 0 Answers