How can I specify all rigidbodies that are in objects? I will attach a photo to make it clearer.
Find them? Using findobjectsbytype?
I think we need more context here. Do you want to filter the hierarchy? Do you want to find all rigidbody’s in a scene, or do you want to find all that are the children of a specific game object?
There’s not enough information to go by here.
I’m making a slime character. In order for him to jump normally, the force during the jump must be applied to all his parts (not only to the main one)
I’m going to take that answer as a “Find all that are the children of a specific game object”.
To which you can just use GetAllComponentsInChildren
: Unity - Scripting API: Component.GetComponentsInChildren