Okay, I know there are a lot of variations of this question already out there, but none of them helps me and searching through every single one for the one right answer would take forever.
I have certain questions regarding Physics.IgnoreCollision
- How do I use Physics.IgnoreCollision?
From my understanding I have to use the names of two gameobjects, but this is clearly wrong since I wouldn’t be asking otherwise.
- How do I get transform values from instantiated objects?
I often find that I have several clones of an object which is not in the scene, but I have no idea how to get their transform values. If I try to get the transform of the original it often returns nothing.
- In the Physics.IgnoreCollision reference it says
Transform bullet = Instantiate(bulletPrefab) as Transform;
What exactly is happening here?