PhysicsBodyComponent.IsOneWayPlatform Property
Definition
Namespace: Brine2D.ECS.Components
When true, this body acts as a one-way platform: bodies approaching from the
non-solid side \(opposite to [PlatformNormalDirection](PlatformNormalDirection.md 'Brine2D\.ECS\.Components\.PhysicsBodyComponent\.PlatformNormalDirection')\) pass through,
while bodies approaching from the solid side collide normally.
Property Value
Remarks
The physics system installs a Box2D pre-solve callback when any body in the scene has this flag set, and removes it automatically when none do.