In my game, I have people walking around, and I want them to spawn with different sizes. So I edited the “localScale” variables, like this:
if(randomsize == true){
var scale = Random.value+0.5;
transform.root.transform.localScale.x*=scale;
transform.root.transform.localScale.y*=scale;
transform.root.transform.localScale.z*=scale;
}
Which resulted in this:
Also, the characters’ hierarchies.
The sizes of the objects are scaled, but the distances between the objects are unchanged as seen in the picture, where people have either tiny floating head or their tops bursting off with the pressure. Does anyone know how to fix this?