Table of Contents

Class ColliderSettings2D

Namespace
Gravitas.Colliders
Assembly
Gravitas.dll

Provides deterministic priority and collision-dispatch metadata for pure 2D collider shapes.

public static class ColliderSettings2D
Inheritance
ColliderSettings2D
Inherited Members

Properties

MaximumGeometryReach

Gets the inclusive maximum effective collider reach in world units.

public static Fixed64 MaximumGeometryReach { get; }

Property Value

Fixed64

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

type1 ColliderType2D
type2 ColliderType2D

Returns

CollisionType2D

GetPriority(ColliderType2D)

Gets the narrow-phase priority used to order 2D colliders before dispatch.

public static int GetPriority(ColliderType2D type)

Parameters

type ColliderType2D

Returns

int