- Home /
Question by
Mattias-Wargren · Oct 03, 2011 at 08:16 AM ·
meshvector3scaledistance
Scale mesh between two Vectors
What is the best way to "fit" a mesh between two Vectors? Should I use localScale and Vector3.Distance()
or is there a better way? The scale will be changed in the Update()
function.
Comment
Did you work this out? If so what was the answer please?
Answer by robertbu · Feb 10, 2014 at 08:56 AM
I've posted several different answers to this question in the last year. Here is one of them:
http://answers.unity3d.com/questions/613373/rotating-an-object-between-2-points.html