I would like to make a similar function for my AI.
I would like to make a
GetRandomReachablePointInCone (Basically, i get a random reacheable location using a direction and an angle)
GetRandomReachablePointInDonut (Same as the default but i want a min and max radius)
How can I make that?
Is there a way to see the code or blueprint or wathever behind GetRandomReachablePointInRadius?
EQS is a very powerful tool and it’s the typical way this type of thing would be done.
Randomization can be done many ways. The easiest would be to use EQS to find all the reachable points within a radius and then put them into an array and use a random int in the range of 0 to Array.Length - 1 to get a random point from the array. There are other ways to do it but that’s the first thing that comes to mind.