- Home /
Connecting Multiple Rigidbodies with Collision
I want to make rigidbodies connect and stick together. I tried using isKinematic
newObj = Instantiate(rbody2, SomePosition, SomeRotation);
rbody2.transform.parent = rbody;
newObj.GetComponent(Rigidbody).isKinematic = true;
With this script, I can run into the parent object (isKinematic = false) and move BOTH objects as one! If i run into the child object (isKinematic = true) then, it wouldnt move. Is there a way i can do this so that i can move all objects together as one.
Comment