Good day. I am trying to achieve simple thing but nothing just works…
The desired output:
• Player touches a place in my world
• Character starting to smoothly move with walking animation towards that location
The actual result:
• Player touches a place in my world
• Character just jumps into the final point, no smooth movement nothing
Things tried:
• Vector2 finalPosition = Camera.main.ScreenToWorldPoint(position);
transform.position = finalPosition;
In this scenario the character just jumps into the final point
• Vector2 finalPosition = Camera.main.ScreenToWorldPoint(position);
transform.Translate(finalPosition);
In this case character just dissappears from the screen.
Any solution?