Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

PreContinuousEvent

struct in Unity.U2D.Physics

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

Properties

Property Description
normal The surface normal at the predicted point of impact.
physicsWorld The physics world both shapes are within.
point The predicted point of impact in world space.
shapeA One of the shapes involved in the event.
shapeB The other shape involved in the event.