I’m trying to make the rigidbodies in a group kinematic to move them around. This bit of code adds a Rigidbody to the parent no matter what on line 2. Is this expected? If so, what is a better solution?
rigids = GetComponentsInChildren<Rigidbody>();
for (int i = 0; i < rigids.Length; i++)
{
rigids[i].isKinematic = true;
}