D
D
Dmitry Korolev2016-06-14 07:58:04
C++ / C#
Dmitry Korolev, 2016-06-14 07:58:04

How to slow down an object to which an adforce is given?

But how to slow down the object to which the adforce is given?
I will press the key and turn on the adforce, and then I will release it and I will have to stop abruptly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2016-06-14
@adressmoeistranici

You can set Rigidbody.velocity to zero , or you can apply a braking force with Rigidbody.AddForce .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question