Interface: ICollideEvent

查看 llm.txt

最后一次编辑于 2026-10-22

物理碰撞事件(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>

发生碰撞的另一个轮廓。