Skip to content

@ue-too/dynamics / index / CollisionPair

介面: CollisionPair ​

定義於: pair-manager.ts:14

Represents a collision pair between two bodies.

備註 ​

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

屬性 ​

bodyA ​

bodyA: RigidBody

定義於: pair-manager.ts:15


bodyB ​

bodyB: RigidBody

定義於: pair-manager.ts:16


contactPoints ​

contactPoints: Point[]

定義於: pair-manager.ts:19


depth? ​

optional depth: number

定義於: pair-manager.ts:21


frameCreated ​

frameCreated: number

定義於: pair-manager.ts:22


frameUpdated ​

frameUpdated: number

定義於: pair-manager.ts:23


id ​

id: string

定義於: pair-manager.ts:17


isActive ​

isActive: boolean

定義於: pair-manager.ts:18


normal? ​

optional normal: Point

定義於: pair-manager.ts:20