Version: 2023.2

ContactPairPoint

struct in UnityEngine

切换到手册

描述

A readonly struct describing a contact point between two Colliders.

变量

impulseThe impulse applied to this contact pair to resolve the collision.
normal接触点的法线。
positionThe position of the contact point between the Colliders, in world space.
separationThe distance between the edges of Colliders at the contact point.