xr-frame / Exports / ICollideEvent
# Interface: ICollideEvent
物理碰撞事件(collide-begin等)的信息。
readonly
# Table of contents
# Properties
# Properties
# contacts
• Readonly contacts: IContactPoint[]
本次碰撞的接触点。
# impulse
• Readonly impulse: Vector3_READONLY
从碰撞到分离所用的冲量之和。
# relativeVelocity
• Readonly relativeVelocity: Vector3_READONLY
两个刚体的相对线性碰撞速度。
# shape
• Readonly shape: Shape<any>
发生碰撞的另一个轮廓。