RaycastHit2D.rigidbody
var rigidbody: Rigidbody2D;
Description

The Rigidbody2D attached to the object that was hit.

See Also: Rigidbody2D class.