PhysicsQuery.TimeOfImpactResult.State
Describes the time-of-impact state.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsQuery.TimeOfImpactResult.State
Fields
Value | Description |
|---|---|
| Failed | The query failed to find a good result. The query ran out of iterations finding an impact. |
| Hit | An impact was detected. |
| Overlapped | The shapes were initially overlapped. |
| Separated | No impact was detected during the interval. |
| Unknown | The query encountered an error and returned an unknown result. This should not happen unless a serious issue was encountered. |