P
P
piffo2020-05-03 23:09:52
C++ / C#
piffo, 2020-05-03 23:09:52

Moving a 2D character with a mouse?

There is a 2D character with rigidbody2d, colliders and so on. It is necessary that in the game it can be transferred as in the editor (that is, take it with the mouse and transfer it wherever you want). At the same time, it is necessary to preserve the physics of the character. In other words, he
just has to fall when he is released. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Muravyov, 2020-05-03
@piffo

Here
Here
Here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question