Rotate the Player in another Blueprint

Hello,
How can I rotate the player outside of the player’s blueprint, with another blueprint, using the “MyCharacter” from the FPS exemple?

Thanks!

Is Set Actor Rotation the Node you want?

No, because when I set the rotation of the player using this node it doesn’t work (but it works with any other actor)

You can do two things that I’m aware of.

Setting by Blueprint Interface Class

Setting by Get Player Index

If you have a custom player class and create variables within it to determined if this the player you want to update the rotation. You can pull all actors and do it globally.

If I put that into a blueprint which is on scene:

the rotation does nothing, why?

I don’t know If you fixed it but you just have to use “Add Controller Yaw Input” which is the same as you use when you turn around in game :slight_smile:

You have to use SetControlRotation in PlayerController as solved by Ben Halliday here:
https://answers.unrealengine.com/questions/72435/question-how-do-i-set-the-yaw-rotation-of-the-play.html

Another option is Add Controller Yaw Input, depending on your needs.