Find parent?

I want to make a script for a bone, and I want it to access the parent with rigid body.

transform.Find(string) looks for children, is there a good way to Find the parent? maybe using the transform.parent variable the right amount of times until I reach the parent? is there another way? Is there a different approach to this issue?

You mean the root? transform.root

–Eric

omg they’ve thought of everything!

Yep, pretty much. :wink:

–Eric

not really…try to put an outline to a text from inspector for ex. :stuck_out_tongue: