Hi all,
I’m attempting to use RichAI for making enemies follow the player character. I’ve got this working, but I’m also trying
to implement an alternate path for the enemy to follow when it loses sight of the player. I’ve been bashing my head against this for awhile and cannot seem to figure out how to stop the RichAI from messing up my call to RandomPath.
Basically my calls to RandomPath are generating random paths the AI is trying to follow, but it does this every frame with update. Also it is fighting with RichAI which is attempting to send the AI to the assigned target variable (set to the AI’s transform when it can’t see the player). How can I:
A.) Create a RandomPath and follow it till the end without generating a new one but still allowing for an interrupt by RichAI if the player comes within the AI’s cone of vision?
B.) Prevent RichAI from “pulling” the AI towards the target during the RandomPath until we can see the player again?
Thanks for your assistance and the great project!
- zabblleon