Cyber Commando: DevBlog 6:Homing Launcher: Reloaded
- Jack Leatherbarrow
- Jan 14, 2024
- 1 min read
Updated: Feb 24, 2024
a while ago in the project i made a homing projectile system, it worked in conjunction with all the functionality of any other weapons just with the added twist of being able to home in on a single target. Although this method was working i wanted to change it so that it could take multiple targets and then assign each projectile to each target. This involved me essentially remaking the homing system to work with an empty array of game objects that got populated by every hit detection of a line trace from the aiming point of the launcher. This also meant that some changes were needed in the homing proectile itself to assign a new target. in the actual launcher blueprint i made a function with an output pin of the new target, this would take whatever the line trace hits, and then if it's not already in the array of game objects it adds a unique instance. I needed the output pin for the homing projectile itself so that on begin play the target gets assigned to the new target. An example progress video shown below:

Comments