1. Submit bugs to enter our 5.4 Beta Sweepstakes. Read more about it here.
  2. Unity 5.4 public beta is now available for all users. Grab the build and visit the 5.4 beta forum.
  3. Missing a module? More about the new installer in 5.3 here.
  4. 4.7.1 released for Xcode 7.3 support. Thread here.

Missile Tracking Script

Discussion in 'Scripting' started by golden_gate, Oct 19, 2009.

  1. golden_gate


    Jul 22, 2009
    I have seen a few posts on this matter but not an entire script. Does anyone have a script which allows for an object to be launched which can track down and destroy an object

    The weapon/missile shot at the target may not always "see" the target as the target is rotating around a planet.

    Any examples (unity packages) of this working would be appreciated .

  2. Achim


    Dec 19, 2007
    i am thinking about the same but i have not yet a script too.
    what i was thinking, how it could work, was giving the missile a simple smooth-look-at-script and defining the target with raycasting. but i dont exactly know how to give the raycasthit-target to the smooth-look-at-script.
    but when i have a script i will share.