Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 14 days ago

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.