Of course you guys know Mario Bross (2d), when mario jumps below a block, he collides with it…
but there is another platform collision for 2d looking games, a perfect example is the arcade bubble bobble (the little green dragon jumping)… as you can see, this game allows the player jumps from bottom to top without colliding, can someone please give some tips for this?
I believe there was another thread asking basically the same question somewhere, try doing a search for 2d platform collisions or something.
I think it basically alluded to turning the collision boxes into triggers so that the player would pass up through them and yet when he collides with them from above you block his motion somehow.
I just read the other thread as well as this one… just use a plane as a collider. Unity does support one way collisions. even the regular plane that you can grab in unity will work. It’s super easy
If you want to get real fancy you can create 2 colliders for the same object but on different layers. one box collider that collides with everything except the player and one one way plane collider that only collides with the player.
I was looking to see if there was a different solution to this, but so far this is the best way I’ve found of doing it…