I’m attempting to create a rocket that homes in on the nearest enemy, and fires defensive lasers at other projectiles that pass within its range.
I’m having the homing rocket perform a sphere trace on event tick. This is successfully detecting hit events with enemy projectiles, but the defensive laser doesn’t seem to be functioning correctly. When debugging, I’m seeing that lasers are spawning, but the forward vector does not appear to be getting passed from the Homing Missile blueprint to the Defensive Projectile blueprint.
Does anyone see what I’m doing wrong, and have advice on how I could implement this successfully?
The first image is of the Event Tick on my Homing Missile.
The second image is my base projectile Event Begin Play (also doesn’t seem to be an issue here)
The third image is of the Event Begin Play for the Defensive Laser projectiles.
Please let me know if I haven’t shared enough for my issue to make enough sense
Thank you kindly in advance!