PhysicsQuery.TimeOfImpactResult.State
Describes the time-of-impact state.
阅读时间1 分钟最后更新于 1 个月前
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. |