Controlling Multiple Rigidbodies

How Can I control group of rigidbodies that are connected with joints