Random location origin location not changing
The wandering works but for one thing. The origin of the random spot node is not getting the new location of the actor. This is for a behavior tree task. I am getting a reference to the controller and getting the location. How ever the location does not change as the actor moves. As you can see I am printing the origin and the random spot.
The results are, the origin is in the same spot for every call. I indicated the three different actors in play. What I would like to happen (what I expected) is for the actor to get a random location from the new location. As it is the actor only wanders within the radius given.
It this happening because the controller does not get the new position as the actor in play moves? How can I fix this?
asked Dec 13 '18 at 07:14 AM in Blueprint Scripting
Well, that was a easy fix. I got the controlled pawns location instead. Thought I tried that.
answered Dec 13 '18 at 07:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here