Quantcast
Channel: Answers by "Narv"
Viewing all articles
Browse latest Browse all 60

Answer by Narv

$
0
0
for(float t = 0.0f; t < 1.0f; ) { t += Time.deltaTime; transform.position = Vector3.Lerp(orgPos, dstPos, t); transform.rotation = Quaternion.Slerp(orgRot, dstRot, t); yield return null; }

Viewing all articles
Browse latest Browse all 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>