Trigger not being activated?

[2D] So, I’m working on a platformer-type game with jumping and stuff. I have the jump worked out, and it works just how I want, but I need to find out a way to refresh the jumps upon landing. I made an invisible box with a Box Collider 2D that is a trigger. However despite this, my script has a hard time seeming to be able to figure out when it is grounded or not. It seems like my OnCollision’s are not being triggered ever, as the print always says false. Any tips?


(the ‘jump arc’ is the one I like, ‘jump arc try 2’ was an attempt to see if I could fix it.)

I’m really stuck on this, so if you guys could help me out, that would be much appreciated.

void onCollisionEnter () {

}

should be changed to:

void OnCollisionEnter(Collision col) {


}

same with the oncollisionstay and exit.