Hi Jean,
Sorry just realised i wasn't specific enough in my first post. I understand that reducing the number will make it slower. However, i want the player to reach an X distance over time. e.g. 10 (equivalent in World space). its a 3D game btw
Im using Translate to make my character walk. I think Vector3.Lerp is along the lines of what im after but dont think i can achieve the same type of movement as the Translate action does with this, as Lerp starts of with an ease and finishes with an ease.
Behavior:
If the player is still holding forward it will keep going another 10 etc. If the player lets go of forward it will finish the last translation to the last X distance.
e.g. player presses key and player moves 10 over 3 sec. IF the player lets go before 3 sec is up then the player finishes its movement before stopping.
Ive drawn a diagram to visually show what im after
hope it helps
Nick