D
D
Dmitry Korolev2016-06-13 03:46:30
C++ / C#
Dmitry Korolev, 2016-06-13 03:46:30

How can using a transform not go through objects with a collider through?

I have a character that moves with a transform.
when I fly up to the object and rest, I go through it
how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Gaydak, 2016-06-13
@adressmoeistranici

Already written to use a Rigidbody and move it through the Rigidbody methods.
even in the documentation it was written that moving through a transform and wanting to process the collision physics correctly is, as it were, stupid.
https://docs.unity3d.com/ScriptReference/Rigidbody...

D
Dmitry Korolev, 2016-06-14
@adressmoeistranici

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.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question