- Home /
 
               Question by 
               CookieHCl · Aug 15, 2019 at 05:39 AM · 
                collisioncollider2d  
              
 
              how do I enable collision?
I have Collider1 and Collider2, and they won't collide because their collision was disable from Layer Collision Matrix. But I need to make them collide after certain condition, so I made them collide with
Physics2D.IgnoreCollision(Collider1, Collider2, false);
but that code doesn't worked. How do I make two colliders collide with each other when layer setting won't let them collide?
               Comment
              
 
               
              Can you put one of the collider inside another layer whose collision with the first layer is enabled?
I am not sure there is a way to do what you want.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                