Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsQuery.TimeOfImpactInput

The input for time-of-impact query.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsQuery.TimeOfImpactInput

Properties

Property

Description

maxFractionThe sweep interval in the range [0, maxFraction].
shapeProxyAThe proxy for shape A.
shapeProxyBThe proxy for shape B.
shapeSweepAThe movement of shape A.
shapeSweepBThe movement of shape B.