I have a controlled pawn in a level and I want it to move away from the player character when they are too close together. I need to make the pawn move backward from the direction that it is facing. I am currently using the logic pictured below.
In the picture, I’m getting the difference between the locations of the pawn and the player character, normalizing it, multiplying it by 650 (the distance that I want the pawn to move) and telling the pawn to move to the new destination. What’s curious about this logic is that the pawn is able to move backward in one level that I’ve created, but not in another. Are there any parameters that would prevent the “AI Move To” function from making the pawn move to a destination under certain conditions? If so, does anyone know what I should do instead to make the pawn move backward? (Just so you know, the pawn can use “AI Move To” to move toward the player as a target actor, but it won’t move toward the destination as pictured above.)