Table of Contents

Namespace Gravitas.Colliders

Classes

ColliderSettings

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

ColliderSettings2D

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

LSAABBoxCollider2D

Pure 2D axis-aligned box collider.

LSCapsuleCollider

Represents a runtime 3D capsule collider whose local axis follows Y.

LSCapsuleCollider2D

Pure 2D capsule collider whose local center segment follows local 2D Y.

LSCircleCollider2D

Pure 2D circle collider.

LSCollider

Common runtime type for the closed set of Gravitas-owned 3D collider shapes. Use CreateCollider() when constructing from engine-adapter shape data.

LSCollider2D

Common runtime type for the closed set of Gravitas-owned pure 2D collider shapes. Use CreateCollider() when constructing from engine-adapter shape data.

LSCompoundCollider

Represents one collider identity whose collision shape is composed from deterministic internal primitive and convex-mesh parts.

LSCompoundCollider2D

Represents one pure 2D collider identity whose collision shape is composed from deterministic internal primitive and convex-polygon parts.

LSConeCollider

Represents a finite circular cone whose local Y axis runs from base plane to apex and whose local origin is the cone's bounding center.

LSCuboidCollider

Represents a runtime 3D cuboid collider.

LSCylinderCollider

Represents a finite runtime 3D cylinder whose local axis follows Y.

LSMeshCollider

Represents a runtime 3D collider backed by deterministic triangle-mesh geometry.

LSPolygonCollider2D

Pure 2D convex polygon collider with deterministic vertex ordering.

LSSphereCollider

Represents a runtime 3D sphere collider.

PhysicsMesh

Owns immutable authored triangle topology and committed deterministic runtime mesh geometry.

Structs

ColliderShapeDefinition

Describes authoritative collider shape input without runtime collider lifecycle state such as IDs, bodies, partitions, pairs, or events.

ColliderShapeDefinition2D

Describes authoritative pure 2D collider shape input without runtime collider lifecycle state such as IDs, bodies, partitions, pairs, or events.

CompoundColliderPart

Declares one data-only geometry part owned by an LSCompoundCollider.

CompoundColliderPart2D

Declares one data-only geometry part owned by an LSCompoundCollider2D.

MeshMassProperties

Stores deterministic closed-volume mass properties for an immutable mesh topology.

MeshSurfaceMassProperties

Stores deterministic uniform thin-shell mass properties for scaled mesh triangles.

Enums

ColliderShapeDefinition2DKind

Identifies data-only pure 2D collider shape definitions.

ColliderShapeDefinitionKind

Identifies a data-only collider shape definition that can be materialized into a runtime collider.

ColliderType

Identifies runtime 3D collider shapes.

ColliderType2D

Identifies first-class pure 2D collider shapes.

CollisionType

Identifies the resolved 3D narrow-phase path for an ordered collider pair.

CollisionType2D

Identifies the resolved pure 2D narrow-phase path for an ordered collider pair.

MeshColliderMode

Declares how a mesh collider should be treated by runtime collision policy.

MeshInertiaPolicy

Selects how mesh inertia is derived when a mesh body participates in angular dynamics.

MeshVolumeValidationResult

Describes the deterministic closed-volume validation result for a triangle mesh.

Delegates

LSCollider.BodyCollisionFunc

Handles a 3D contact notification for the other body.

LSCollider.MixedCollisionFunc

Handles a mixed contact or trigger notification for the other 2D collider.

LSCollider.TriggerCollisionFunc

Handles a 3D trigger notification for the other collider.

LSCollider2D.Body2DCollisionFunc

Handles a pure 2D contact notification for the other body.

LSCollider2D.Mixed2DCollisionFunc

Handles a mixed contact or trigger notification for the other 3D collider.

LSCollider2D.Trigger2DCollisionFunc

Handles a pure 2D trigger notification for the other collider.