# RaycastHit.Rigidbody

The Rigidbody of the collider that was hit.

![RaycastHit.Rigidbody](./images/RaycastHitRigidbodyCalculator.png)

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Raycast Hit
</td>
<td>
RaycastHit
</td>
</tr>
<tr>
<td>
Rigidbody
</td>
<td>
Output hit Rigidbody
</td>
</tr>
 </tbody>
</table>


## Remarks

If the collider is not attached to a rigidbody then it is null.

