ドキュメント

Unity Engine

Unity Engine

PhysicsEvents.PreContinuousEvent

An event produced during the continuous collision stage when a fast-moving shape is predicted to hit another shape this step. The callback decides whether the shape is stopped at the predicted impact point or allowed to continue.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly struct PhysicsEvents.PreContinuousEvent : IEquatable<PhysicsEvents.PreContinuousEvent>

Properties

Property

Description

normalThe surface normal at the predicted point of impact.
physicsWorldThe physics world both shapes are within.
pointThe predicted point of impact in world space.
shapeAOne of the shapes involved in the event.
shapeBThe other shape involved in the event.