x


Stoping Momentum

Hi, i'm Making a platformer Based on Momentum and i was woundering if there is a way to make it and so if i press a key it stop all momentum compleatly and so i fall back down?

Any info would be good thx

more ▼

asked Mar 31 '12 at 09:49 AM

Quontex gravatar image

Quontex
1 2 5 6

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Sure a Rigidbody is a physics-object. You can use forces to move / accelerate it.

To stop all momentum just set the Rigidbody's .velocity and .angularVelocity to Vector3.zero.

more ▼

answered Mar 31 '12 at 10:27 AM

Bunny83 gravatar image

Bunny83
45.3k 11 49 207

And how would i use that, i'm sorry i'm quite new.

Mar 31 '12 at 12:25 PM Quontex
(comments are locked)
10|3000 characters needed characters left
Your answer
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:

x954
x24

asked: Mar 31 '12 at 09:49 AM

Seen: 542 times

Last Updated: Mar 31 '12 at 12:25 PM