Trying to have two colliders ignore each other if they are of similar color. If I have no oncollisionexit2d method the ignore collision effect is permanent, which I do not want. If i do have an oncollisionexit2d method, both the enter and exit methods are called before the collider is able to pass through, essentially “pushing” the moving collider out and not allowing it to pass through. Using boxcollider2d for door and circlecollider2d for player.
Trying to have two colliders ignore each other if they are of similar color. If I have no oncollisionexit2d method the ignore collision effect is permanent, which I do not want. If i do have an oncollisionexit2d method, both the enter and exit methods are called before the collider is able to pass through, essentially “pushing” the moving collider out and not allowing it to pass through. Using boxcollider2d for door and circlecollider2d for player.