Answers for "unity lookrotation lerp"

C#
1

unity lookrotation lerp

Quaternion lookOnLook =
        Quaternion.LookRotation(enemy.transform.position - transform.position);
 
 transform.rotation =
        Quaternion.Slerp(transform.rotation, lookOnLook, Time.deltaTime);
Posted by: Guest on January-12-2021

C# Answers by Framework

Browse Popular Code Answers by Language