Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

RaycastHit2D.rigidbody

public Rigidbody2D rigidbody;

Description

The Rigidbody2D attached to the object that was hit.

See Also: Rigidbody2D class.

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