Closed oxysoft closed 8 years ago
The centroid is found by taking a list or array of Vector3 and finding the point at the center of the distribution. Useful in a variety of game features, like placing a camera at the center of multiple player characters in a fighting game.
Added to UnityHelper.
The centroid is found by taking a list or array of Vector3 and finding the point at the center of the distribution. Useful in a variety of game features, like placing a camera at the center of multiple player characters in a fighting game.