Archive 17/01/2023.

One side collider

1vanK

How to make platform that allows to moving up but deprecate to movig down?
youtube.com/watch?v=-80t-OV1gQ8
docs.unity3d.com/Manual/class-Pl … tor2D.html

It is possible for Bullet and Box2D? Or it’s needed to implement this logic manually?

Enhex

Maybe you could filter collision according to collision normal.

Lichi

You can create two collision shapes, one on top and other down of the player. When if the platform collision touch the collision shape on top, you disable the collision shape of platform.
Other way is disable all collisions shapes of platforms that are above. :smiley:

Also you can traslate the player up when is in collision.

Modanung

Something like changing collision masks based on player/character/object movement might work. Combined with a separate feet collider that’s basically a horizontal line to make intersection avoidable when changing the mask.