2D Homing Missiles

Sean Duffy

(34)
$9
Publisher Sean Duffy
File size 8.27MB
Number of files 122
Latest version 1.8.0
Latest release date 2022-10-31 09:46:15
First release date 2014-07-15 11:31:29
Supported Unity versions 2018.4.2 or higher
Now with Unity 2020 and 2021 LTS support! The 2D Homing Missiles asset for Unity gives you realistically moving missiles to use in your games and prototypes along with smoke trails.

WebGL demo

Normally, missiles should never move directly towards their targets, this is not how they work in real life. Too many times we see simple missile follow scripts being used to allow missiles to track targets. The 2D Homing Missiles asset does things the right way in terms of realistic missile movement.

With the 2D Homing Missiles asset, a special proportional controller algorithm is used to move missiles intelligently, instructing missiles to reach their target, rather than just move directly to their targets. A desired state is constantly fed to each missile's controller, as their targets move, steering the missiles in the right direction in order for them to reach their targets with realistic flight paths. This results in super realistic (and entertaining to watch) missile patterns.

Package contents

1. Proportional constant (PID controller) homing missile script + supporting scripts
2. MissileLaunchScript script with custom inspector editor components for single / multiple missile launcher node configuration and pattern randomness configuration, as well as launch control options with tag targetting, closest target options, and auto-fire mode
3. ObjectPoolManager script to aid in the usage of optional object pooling for missiles
4. Missile sprites and prefabs
5. Smoke trails for missiles
6. Demo scenes to demonstrate dynamic instantiation of new missiles, as well as some custom launch patterns / multiple missile launches. Includes some extra helper / demo scripts too
7. Free explosion audio effect and basic explosion prefabs
8. README file with detailed usage and documentation


Top Publisher Assets