RaycastHit.Transform

The Transform of the rigidbody or collider that was hit.

RaycastHit.Transform

Properties

Property Name Description
Raycast Hit RaycastHit
Transform Output the hitting Transform