Version: 2023.2

ImmediateContact

struct in UnityEngine.LowLevelPhysics

切换到手册

描述

Describes a contact where two shapes collide.

These contact points are generated by the ImmediatePhysics.GenerateContacts function.

变量

NormalThe normal of the contact point.
PointThe position of the contact point in world space.
SeparationThe distance between the shapes at the contact point.