Setting Rotation for an A.I
Hi, So I am currently developing an A.I guard, I have currently set up one condition using a behavior tree and a target point
Which is Move to this point (shown here)
But the problem is the AI guard walks to the location but just stares at the door (like so)
I want him to turn and face the opposite direction any ideas how I make him do a 180 ?
asked Mar 15 '16 at 07:23 PM in Blueprint Scripting
You would run the task after the move to was successful or create a custom moveto and rotate task combined. To create a new task:
And its graph would roughly look like this: Running it after the moveto that you already have would look like this:
That should get you in the right direction.
This should do it, let me know. I didn't have time to setup a target point or anything else so I used a random reachable point in radius but instead you would use the target points location and the controlled pawn is the AI pawn.
answered Mar 15 '16 at 08:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here