You'll want to have some way of identifying and saving the specific instance of the nearest enemy when the missile is created. Qualifiers will scope...
So in cuphead there's a weapon called the chaser that follows the nearest enemy. I kinda want to recreate that for a game but I want it to target the...