Hi!
I have a little problem with this.
I try to make it so the Player can jump through platforms. And it works. Almost...
Here is what I did.
On the Platform, I have a trigger at the bottom on the platform.
When the Player enter this trigger, I disable the collider of the platform and enable the collider when the Player exit the trigger. It works, BUT.......
When I jump, I use a Raycast to check if the player is grounded or not. It needs to be grounded before it can jump again. The problem is when it jump through the platform, the Raycast hits the ground, and then it can just jump again. I want that the Player needs to land on the platform, before it can jump again. So is it a way I can solve this? Hope you understand what I mean.