Class ColliderSettings2D
Provides deterministic priority and collision-dispatch metadata for pure 2D collider shapes.
public static class ColliderSettings2D
- Inheritance
-
ColliderSettings2D
- Inherited Members
Methods
GetCollisionType(ColliderType2D, ColliderType2D)
Resolves the narrow-phase collision type for an ordered pair of 2D collider shapes.
public static CollisionType2D GetCollisionType(ColliderType2D type1, ColliderType2D type2)
Parameters
type1ColliderType2Dtype2ColliderType2D
Returns
GetPriority(ColliderType2D)
Gets the narrow-phase priority used to order 2D colliders before dispatch.
public static int GetPriority(ColliderType2D type)
Parameters
typeColliderType2D