@ue-too/dynamics / index / CollisionPair
インターフェイス: CollisionPair
Represents a collision pair between two bodies.
Remarks
Tracks collision information across multiple frames, enabling detection of collision start, update, and end events.
プロパティ
bodyA
bodyA:
RigidBody
bodyB
bodyB:
RigidBody
contactPoints
contactPoints:
Point[]
depth?
optionaldepth:number
frameCreated
frameCreated:
number
frameUpdated
frameUpdated:
number
id
id:
string
isActive
isActive:
boolean
normal?
optionalnormal:Point