Alright, so ideally after the player exits the trigger it will turn itself from a trigger to a collider.
Here’s the code i’m trying to use (It’s on the player)
void OnTriggerExit2D(Collision2D collision)
{
if (collision.gameObject.tag == "Platform")
{
transform.Collider2D.isTrigger = false;
Debug.Log ("Collision works");
}
}
However this wont compile.
I’ve also tried “Collider.2d.isTrigger” = false