oneWay
Whether to use one-way collision behaviour or not.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool oneWay { get; set; }
Remarks
Various behaviour associated with 2D platforms are provided by this effector such as allowing colliders to pass-through the effector colliders in one-direction (one-way) as well as controller whether friction or bounce should be applied.