Answers for "move position smoth unity"

C#
0

move position smoth unity

Vector3 newPos = new Vector3(transform.position.x, posY, transform.position.z);
         transform.position = Vector3.Lerp(transform.position, newPos, Time.deltaTime * transitionSpeed);
Posted by: Guest on August-11-2021

Code answers related to "move position smoth unity"

C# Answers by Framework

Browse Popular Code Answers by Language