Is there a way to reliably get the distance between top-most and bottom-most point of a GameObject including its children? I want to measure a human being which consists of several GameObjects and I need ability to subtract the highest point of the highest GameObject and the lowest point of the lowest GameObject and get its vertical distance in global space. If they’re standing it would be around 1.8 but if lain down about 0.3.
Neither test.transform.localScale.x
amd test.GetComponent<Renderer>().bounds.size.x;
fits the bill.