Get all rigidbodies in a gameobject

GameObject gameObj;
Rigidbody[ ] rb;

How can I get all the rigidbodies in gameObj? gameObj has multiple children all with a rigidbody.

Should do what you want.

Yes I knew about that there was another step I needed because they were different types that’s what I was asking about but I figured it out thanks