RaycastHit.Transform

The Transform of the rigidbody or collider that was hit.

RaycastHit.Transform

Properties

Property NameDescription
Raycast Hit RaycastHit
Transform Output the hitting Transform