Question by 
               venomtail · Nov 10, 2020 at 12:04 AM · 
                colliderscollider2dtriggers  
              
 
              What makes a collider trigger work and not work?
In my little project I have a cube I want to mova along a platform. To the cube, there's a box collider, and a box collider set as a trigger.
My problem is that the triggers in the code do nothing. I've tested this by simply having a line of code of Debug.Log("Trigger test"); in all.
Basically code looks like this
     private void OnTriggerStay(Collider other)
     {
         Debug.Log("Trigger test");
     }
However nothing's happening. What am I missing. This is also 2D colliders, but that shoudn't make a differece for triggers right?
Thank
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                