x


restrict the travailing distance

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

more ▼

asked Mar 31 '11 at 10:17 AM

robertmathew gravatar image

robertmathew
571 35 39 51

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.

Mar 31 '11 at 10:39 AM Meltdown

do you mean you want to tap the up arrow to move forwards?

Mar 31 '11 at 11:35 AM demize2010

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?

Mar 31 '11 at 01:08 PM Meltdown

ya and after it move 3 meter it should stop the motion.speed should be zero.

Mar 31 '11 at 01:24 PM robertmathew
(comments are locked)
10|3000 characters needed characters left

0 answers: sort oldest
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x355
x25
x4

asked: Mar 31 '11 at 10:17 AM

Seen: 603 times

Last Updated: Mar 31 '11 at 10:56 AM