Physics Engine 2's traversable platform

My game needs a physics engine, how does physics Engine 2 achieve traversable platform, thank you

I imagine you need a sensor to disable the physics behavior of the platform if player comes from below.

Sometimes can jump through it on the platform, sometimes can’t

Since I have three roles, I cannot disable physical behavior

I have three masks, which are cancelled by default and each role has a separate mask that is activated when a condition is met