How to spawn an actor in front of the player's view?

No it just spawns the actor at 20,0,0 location, I tried adding the transform of the player so it now spawns the actor at the location of the player with the 20 X added to its location but it spawns the actor depending on the direction the mesh of the character is facing so in 3rd person it doesn’t spawn where the camera is looking