Scripting API

PlatformEffector2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from Effector2D

8 of 8 of Unity's membersUnity's documentation
In Tassix

One-way platforms: a collider using it is solid only to bodies that first touch it from within surfaceArc degrees of its up direction (turned by rotationalOffset); others pass through until they stop touching it. Side friction and bounce aren't applied yet.

Properties 7

float rotationalOffset { get; set; }
float sideArc { get; set; }
float surfaceArc { get; set; }
bool useOneWay { get; set; }
bool useOneWayGrouping { get; set; }
bool useSideBounce { get; set; }
bool useSideFriction { get; set; }

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.