Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 
PREVIOUS NEXT
Tagged: #move #position #smoth #unity
ADD COMMENT
Topic
Name
9+8 =