Select your preferred scripting language. All code snippets will be displayed in this language.
History
The Transform of the rigidbody or collider that was hit.
See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.