RaycastHit.transform

public Transform transform;

Description

The Transform of the rigidbody or collider that was hit.


Did you find this page useful? Please give it a rating: