Skip to content

@ue-too/dynamics / CollisionPair

Interface: CollisionPair

Defined in: pair-manager.ts:14

Represents a collision pair between two bodies.

Remarks

Tracks collision information across multiple frames, enabling detection of collision start, update, and end events.

Properties

bodyA

bodyA: RigidBody

Defined in: pair-manager.ts:15


bodyB

bodyB: RigidBody

Defined in: pair-manager.ts:16


contactPoints

contactPoints: Point[]

Defined in: pair-manager.ts:19


depth?

optional depth: number

Defined in: pair-manager.ts:21


frameCreated

frameCreated: number

Defined in: pair-manager.ts:22


frameUpdated

frameUpdated: number

Defined in: pair-manager.ts:23


id

id: string

Defined in: pair-manager.ts:17


isActive

isActive: boolean

Defined in: pair-manager.ts:18


normal?

optional normal: Point

Defined in: pair-manager.ts:20