Actor moving

Hello.

I know, that Actor can be moved with SimpleMoveToActor BP node.

But now I can’t imagine, how to realize functions like these:

  • how to move Actor (character) to the front of the another Actor (character)? In this case, in result, both Actors must be face-to face;

  • how to move Actor (character) to the left of the another Actor (character)? In this case, in result, face of moved Actor must be in left of another Actor;

  • how to move Actor (character) to the right of the another Actor (character)? In this case, in result, face of moved Actor must be in right of another Actor;

  • how to move Actor (character) to the front of the another Actor (character)? In this case, in result, face of moved Actor must be in front of another Actor;

Thank you!

in order

Get the forward vector of the other character multiplied by a float of around 100 and then rotate that vector 180 degrees. You could also get the forward vector and negate it to get the “backwards vector”

Again get right (or is it left) vector and negate if needed and use a setRotation node to rotate your character as desired or addLocalRotation

AGain, just negate the previous setup vector with the negateVector node

Do the first one, just dont rotate 180 degrees or negate the vector depending on how you do it.

Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.

Thank you very much!