How to rotate object around player by player rotation?

Hi,

I have a projectile, that is spawned in front of a player. I want to remain it there; during that time it shall move with the camera rotation, so that it is always in the players view. Then I want to shoot it.

But I dont really know which functions to use to let it rotate with the players movement.

Thanks!

Just use ‘Attach Actor to Actor’ after ‘Spawn Actor’

in this way, your projectile will move and rotate with your character… it’s more performance efficient and elegant than matching position / rotation :wink:

when you go to fire it just remember to detach it other wise the result will be weird

Thanks, it almost works. But sadly the projectile does not move up and down if I look up and down. Can you give me another hint?

Edit: I got it. Needed to set the parent target to get player camera manager.