|
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
(comments are locked)
|

You might want to re-type your question. All I read is one long winded sentence which doesn't make much sense. Break your problem down into different steps and I'm sure you'll get a better response.
do you mean you want to tap the up arrow to move forwards?
So in short, when you are moving your character, and you release the up arrow, you want him to still walk 3 meters after the up arrow has been released?
ya and after it move 3 meter it should stop the motion.speed should be zero.