- Home /
Question by
tybantarnusa · Dec 12, 2016 at 10:35 PM ·
2dcollisiontriggers
OnTriggerEnter2D doesn't work on collider with effector
I am making this triangle-shaped object with a surface effector so you can walk on top of it. This object is destroyable using a kind of projectile that I made. That bullet is a trigger. I want to make if that bullet hits the triangle object, that object will be destroyed. I don't know why they don't collide, the OnTriggerEnter2D nor the OnCollisionEnter2D don't work. But if I uncheck the "Used by Effector", it works! The triangle object is destroyed. But I still want to use the effector so the player can walk on top of it properly.
Can anyone explain this or have a solution for this?
Thank you in advance.
Comment