How do I make a projectile fire along a vector?

Well camera already follows the player right? it’s most likely (as i’m guessing here) a component that moving and looking at player, get component rotation and fire according to camera rotation. I assuming you using projectile movement component

Hey all, I modified the security camera blueprint from the blueprint office example to create a turret which locks onto the player and fires projectiles. However, I cant figure out how to make the projectile fire AT the player, as of right now it just shoots out from the front of the security camera, regardless of where the player is. Does anyone know how to make the projectile follow a vector?

I am using the projectile movement component, but I already have the projectile spawn transform set to take in the camera rotation

you have to set the velocity which I think is along the X axis under the component settings

Try DJMidKnight’s solution.

Also make sure to set Gravity scale to 0. Otherwise the projectile will follow a curved path (due to gravity)