Answers for "how to rotate object gradualy unity"

C#
0

how to rotate object gradualy unity

var scalingFactor = 1;
 var rotateTo : Transform;
 var rotateFrom : Transform;
     
     if(grounded == false) {
             transform.rotation = Quaternion.Slerp(rotateFrom.rotation, rotateTo.rotation, Time.deltaTime/scalingFactor);
         }
Posted by: Guest on February-24-2021

Code answers related to "how to rotate object gradualy unity"

C# Answers by Framework

Browse Popular Code Answers by Language