If you just want it to shoot forward from the player, you can set rotation to match player control rotation. It can go in the projectile’s construction script.
You can use Instigator > Get Control Rotation > Set Actor Rotation
Be sure to set an instigator.
You may want to update the tags if you’re looking for C++. It says Blueprint at the moment.