RaycastHit.transform

var transform : Transform

Description

The Transform of the rigidbody or collider that was hit.

See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.