if my character is moved forward direction in z axis using uparrow.
when i release the up arrow character should move to minimum 3 meter forward direction in z axis and stop should stop its motion.
i want to make the transform.translate = 0 when i release the up arrow the character should move a min distance of 3 meter after travailing a 3 meter it should stop the motion and come to stand still.
i want it throughout the game when ever i press and release the uparrow