I have a triangle with its perimeter represented by an
EdgeCollider2D, and I want to trigger an event when the player reaches this area.
So I set the collider as a trigger and, I used the OnTriggerStay2D function in my code.
But the event works only when the player is intersecting the line of the collider, not when the player is inside the triangle but not touching the edge.
How can I continue to get OnTriggerStay messages when I'm inside the triangle, not touching the edges?