Quantcast
Viewing all articles
Browse latest Browse all 86

Answer by Vandarthul

If I'm not wrong, you want to equalise y axis of your object to the y axis of your player. Then try using [Mathf.Lerp][1] to achieve that. [1]: http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Lerp.html

Viewing all articles
Browse latest Browse all 86

Trending Articles