PhysicsEvents.PreSolveEvent
An event produced when a contact between a pair of PhysicsShape is updated, used to provide the ability to decide if the contact should be disabled or not.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsEvents.PreSolveEvent
Properties
Property | Description |
|---|---|
| normal | The surface normal at the point of contact. |
| physicsWorld | The physics world both shapes are within. |
| point | The point of contact. |
| shapeA | One of the shapes involved in the event. |
| shapeB | The other shape involved in the event. |