Trouver le centre de transformations, points, plusieurs objets
public Vector3 FindCenterOfTransforms(List<Transform> transforms)
{
var bound = new Bounds(transforms[0].position, Vector3.zero);
for(int i = 1; i < transforms.length; i++)
{
bound.Encapsulate(transforms[i].position);
}
return bound.center;
}
Awful Albatross