Class RayColliderHit

The time of impact between a ray and a collider.

Hierarchy

  • RayColliderHit

Constructors

Properties

Methods

Constructors

Properties

collider: Collider

The handle of the collider hit by the ray.

timeOfImpact: number

The time-of-impact of the ray with the collider.

The hit point is obtained from the ray's origin and direction: origin + dir * timeOfImpact.

Methods

Generated using TypeDoc