Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsQuery.TimeOfImpactResult

Time-of-impact result from time-of-impact query.
Read time 1 minuteLast updated 13 days ago

Definition

public readonly struct PhysicsQuery.TimeOfImpactResult

Properties

Property

Description

fractionThe sweep time of the collision interval in the range [0, maxFraction].
impactStateThe impact state.
normalThe surface normal at the point of contact.
pointThe point of contact.

Enums

Enum

Description

PhysicsQuery.TimeOfImpactResult.StateDescribes the time-of-impact state.