Search Unity

Instantiated collision check?

Discussion in 'Scripting' started by robertseadog, Sep 23, 2005.

  1. robertseadog

    robertseadog

    Joined:
    Jul 23, 2005
    Posts:
    374
    How can I check if a instantiated GameObject is colliding with a certain mesh? :?
     
  2. nmceri

    nmceri

    Joined:
    Aug 4, 2005
    Posts:
    56
    I seem to remember there being a few threads that might help.
    This one could be of some use to you.
    http://www.otee.dk/forum/viewtopic.php?t=407

    and this one might help as well.
    http://www.otee.dk/forum/viewtopic.php?t=442

    The first thread might help the most because it let me do precisely what you're talking about. I created some bullet objects that I only wanted to destroy other objects with a certain script on them, if they didn't have that script the bullets were looking for, they wouldn't blow up. so.. it's a somewhat roundabout way of checking, but maybe it could help?
     
  3. robertseadog

    robertseadog

    Joined:
    Jul 23, 2005
    Posts:
    374
    Well, It sounds good! I'll check them out, thanks ;)