PhysicsQuery.TimeOfImpactResult
Time-of-impact result from time-of-impact query.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsQuery.TimeOfImpactResult
Properties
Property | Description |
|---|---|
| fraction | The sweep time of the collision interval in the range [0, maxFraction]. |
| impactState | The impact state. |
| normal | The surface normal at the point of contact. |
| point | The point of contact. |
Structs
Struct | Description |
|---|---|
| PhysicsQuery.TimeOfImpactResult.SortAscendingOrder | Ascending distance sort comparer. |
Enums
Enum | Description |
|---|---|
| PhysicsQuery.TimeOfImpactResult.State | Describes the time-of-impact state. |