Get Forward Actor UE5
--
We are finally going to be able to aim our projectiles in the direction the camera is facing.
We are going to be finding the forward vector of our player camera. This is the direction facing in-front of the camera. Our length is always going to be 1. If we want to multiply our impulse we can give it a direction based off our desired impulse.
So we need to get our forward vector. So from our SpawnActor we are going to pull off of our node and right-click and type get forward vector. We are then going to multiply by dragging off our return value and right-clicking and typing multiply.
We are then going to go to our 2nd pin on our vector node and right-click and select convert pin>float
We are going to multiply by 5000 and hook up our multiplication into our impulse node.
With this we are now able to aim our projectile as we move our camera.