We have a vector library floating around (>< @ pun). I don't think you need it though. Just GetPositionFromLocation of their location, and average all the x values, then all the y values. Simple example: 10, 10 10,-10, -10, -10, -10, 10 defines a square centered on 0,0 with sides 20 long. This approach gives you 0,0 as the center. Should work, though it doesn't guarantee that the shapes form a shape without crossed lines...
Funky
Modifié par FunkySwerve, 30 janvier 2013 - 05:43 .