Question by 
               Kryloth · Mar 15, 2018 at 05:37 AM · 
                collisiongameobjectcollider2dotherother-object  
              
 
              Reading Other Gameobject Collider
Hey, i want to ask, how do you Read other Gameobject Collider when colliding with object i've managed to acces those Gameobjects Collider in my script so i have this ParentgameObject, and 2 ChildgameObject, and i want the parent to be able to read from the child collider
Here's my code so far only gotten to access it, what i want is to be able to use my Child gameobject OnCollisionEnter2D
 public GameObject Left, Right;
 private BoxCollider2D boxColliderLeft, boxColliderRight;
 
 void Awake () {
         boxColliderLeft = Left.GetComponent<BoxCollider2D>();
         boxColliderRight = Right.GetComponent<BoxCollider2D>();
     }
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to make a Compact-Disc shaped collider object with an empty hole inside? (2D, not a 3D torus) 0 Answers
Car made from Different GameObjects and Empty GameObjects breaks on Collision with Terrain. 0 Answers
Scaling a box collider based on overlap 0 Answers
rb.velocity.y sometimes requires stopping on x axis as well. 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                