Question by
mansdferg · Nov 14, 2018 at 04:26 PM ·
2d-platformercollision detectiontriggersdetectionmelee
Is there a way for my to put 2 box colliders on the Same object but only have one of them check the trigger?
I'm making a 2D platformer. The player character has a boxcollider that checks if the player is in melee range of an enemy. I want to make a second box collider that is farther in front of the first that can be used to intimidate the enemies, but currently the second box collider triggers the isMelee boolean.
Is it possible to make it so only certain colliders trigger certain things?
Thanks in advance!
Comment