destroy instantiated game object on collision with another game object

hi friends,i cam across a scenario where instantiated game object must be destroyed when collided with another gameobject.i.e.,missile must be destroyed if it hits particular object. i used array for instantiated missiles.i applied below collision script to the missile:

void OnTriggerEnter (Collider other)
{
    if(other.collider.gameObject.tag == "tanker_body" )
    {
        Destroy(this.gameObject);
    }
}

You need to have a rigidbody on both colliders (this and the ship). Make sure your tanker body is tagged properly. If you have more trouble, use Debug.Log(other.name) in that function to determine if the object is hitting anything at all.