I am working on a 3d game and I want to create slot movement system where player can move on left, midle and right side, It’s working fine but the problem is with my code player is just “teleported” to desired position, no animation at all.
My code is:
transform.position += new Vector3(-1.31f,0,0);
My question is: How can I achieve smooth movement animation?