Version: 2023.1

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.