i have this script `Physics.IgnoreCollision(instantiatedProjectile.collider, collider);` on a script that instantiates a bullet. the gun is a child in a parent object which has a collider.
how to i get the bullet to ignore the parents collider, can i use the above code?
what if there's two identical objects, each with a child collider that detects each the other parent, but not its own, Ie. parent1>child2 parent2>child2 child1 should detect parent2 but not parent1
what if there's two identical objects, each with a child collider that detects each the other parent, but not its own, Ie. parent1>child2 parent2>child2 child1 should detect parent2 but not parent1
– mesoseven