Comments and answers for "Measure a rotating gameobject."
http://answers.unity.com/questions/1607617/measure-a-rotating-gameobject.html
The latest comments and answers for the question "Measure a rotating gameobject."Comment by RobAnthem
http://answers.unity.com/comments/1607639/view.html
Well the only way I can think of us to get the mesh renderer or mesh filter of the object and check the bounds of the mesh, you can do position + bounds.extents.x/2 to get either side of the object and same for every other vector to get each bound of the axis, but if you're talking surface to surface then you'd need to do a bit more calculations, but I imagine you could just move outwards from center on the local axis then use the nearest point function on the bounds to get the outside face of local normal, then do the same for the other side and you have you local axis bounds.Fri, 01 Mar 2019 06:44:42 GMTRobAnthem