Hi, I know this might seem like a weird question, but is there any way to put two colliders on one object and have something only detect a certain collider?
I am making 2D top-down RPG style game and I’m trying to add moving platforms over a pit. I have made it so the player will be teleported back to the start and take damage if they are colliding with the pit object and not colliding with the platform object, but that means that if the objects head is touching the platform (Not its feet) then it will still be touching the platform and not be harmed.
I have a 2D polygon collider for basic detection on the object, but I want to add a smaller 2D box collider at the feet in order to test if the feet are on the platform. Is it possible to only detect the box collider?