物理事件返回的碰撞信息中的碰撞点。
Table of contents
Properties
Properties
normal
• Readonly normal: Vector3_READONLY
碰撞平面的法线。
otherShape
• Readonly otherShape: Shape<any>
另一个轮廓。
point
• Readonly point: Vector3_READONLY
碰撞点的位置。
separation
• Readonly separation: number
在该碰撞点处,两个物体的距离。
不一定是0或小于0,因为只要两个物体的距离小于{@link Collider.contactOffset}之和,就会判定为碰撞。
thisShape
• Readonly thisShape: Shape<any>
接收碰撞事件的轮廓。