How do I prevent an AI character from rotating while moving?
I have an AI controlled pawn in a level and I want it to move to a specific location. I'm using "AI Move To" to accomplish this. However, the pawn will always rotate to face the destination that it is moving to. How do I stop the pawn from rotating while it is moving?
asked Mar 15 '16 at 04:56 PM in Blueprint Scripting
if you disable "Use controller rotation yaw" but then it won't turn at all and will move side ways to the destination
answered Mar 15 '16 at 05:21 PM
Is this a helicopter-like pawn that can strafe while facing the player? Or, is this a humanoid that you would like their head to turn towards the player?
In the case of the floating pawn, you could use a MoveToLocation; it has a strafe option.
Are you using a form of SetFocus with the player as the target?
answered Jan 25 '17 at 06:30 PM
first of all the ai shouldnt just change its position while chasing. the enemies speed should be good enough so that it can catch up to the player. also you can go to project setting and search for Strafe in The AI Portion.
answered May 03 '18 at 10:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here