Comments and answers for "How do I find the centroid of 4 points in 3D space?"
http://answers.unity.com/questions/368024/how-do-i-find-the-centroid-of-4-points-in-3d-space.html
The latest comments and answers for the question "How do I find the centroid of 4 points in 3D space?"Comment by NeilM0 on NeilM0's answer
http://answers.unity.com/comments/368163/view.html
Vector3 result = (r.point + l.point + u.point + d.point) / 4.0f;Sun, 23 Dec 2012 02:40:20 GMTNeilM0Comment by Kiloblargh on Kiloblargh's answer
http://answers.unity.com/comments/368040/view.html
Yes. You are more rightSat, 22 Dec 2012 21:07:41 GMTKiloblarghComment by NeilM0 on NeilM0's answer
http://answers.unity.com/comments/368039/view.html
Would averaging all of the x's, all of the y's, and all of the z's be the proper thing to do?Sat, 22 Dec 2012 20:59:47 GMTNeilM0Comment by NeilM0 on NeilM0's answer
http://answers.unity.com/comments/368036/view.html
Tried that out. It works for a simple test case, but I'm not sure it will work when the track is no longer pointing down the Z axis.Sat, 22 Dec 2012 20:49:27 GMTNeilM0Answer by Kiloblargh
http://answers.unity.com/answers/368032/view.html
c= Vector3((l.point.x + r.point.x )/2,(u.point.y+d.point.y)/2,m_FollowObject.position.z)
?Sat, 22 Dec 2012 20:42:43 GMTKiloblargh