How can I make only 1 actor in a blueprint face me/constantly face my direction

Gonna need to do a bit of guessing here because we’re lacking info about your BP’s hierarchy and how exactly GPMesh is initialized. Seeing as it’s a component (based on the GetOwner function call), I think your hierarchy is similar to this:

If that’s correct, keep reading. If not, correct me with some extra info. :smiley:

Assuming this is correct, we need to clarify some terminology first - GPMesh is not an actor in this case, it’s a component of the actor whom you’ve described with your blueprint. That’s the same actor you’ll get when calling GetOwner on GPMesh; meaning, if you then SetActorRotation you’ll rotate the actor and (consequently) all its components. If you just want to rotate a single component, for example GPMesh:

  • replace the GetActorLocation call with GetWorldLocation and pass in the component directly
  • replace the GetActorRotation call with GetWorldRotation and pass in the component directly
  • replace the SetActorRotation call with SetWorldRotation and pass in the component directly - the new node will have a Rotator input instead of XYZ, just split the Rotator using “split struct pin” (see image) and connect your green wires

2 Likes