Get Random Reachable Point in Radius not working after AI moving
I don't know if I should have put this in the bug report section, but here is my question:
I am trying to recreate a wander behavior, so I set up my behavior tree and level like this:
My code in the task BTT_Roam is the following:
When it executes, it generates a random location with Get Random Reachable Point in Radius, then it stores it in a variable and then it instantiates a debug sphere at the point location and it moves the AI Character to that point. However, when I hit play, the point is not always reachable:
If I omit the move to location node and I finish the execution immediately, after instantiating the debug sphere:
Then it works as expected, the point is always reachable:
Why does this happen? Is this a bug?
asked Mar 16 '17 at 10:43 PM in Blueprint Scripting
Hey Pedro Palacios,
I've tested this myself in a clean project, but I'm not seeing the same results. Would you mind providing me with a set of repro steps or even a simplified test project so I can take a closer look at the issue?
answered Mar 17 '17 at 08:02 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here