>>936
rigid2Dってなに?

other.gameObject.GetComponent<rigid2D> ();
にしてみればDo?