TobiasWehrum/unity-utilities

Centroid helper method

Closed this issue · 1 comments

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.