D
D
Dmitry Lolikov2017-08-21 02:58:42
Game development
Dmitry Lolikov, 2017-08-21 02:58:42

How to make the character follow (turn) towards the mouse?

Hello, I'm doing a project on unity and the question was, how to make the character look in the direction of the mouse, so that he turns in the direction where the mouse points?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
/
/ "BRO TIGER", 2017-08-21
@Lololishka

Make the following script in your project:
wiki.unity3d.com/index.php?title=LookAtMouse Of
course there are other options in the old Wiki, but I think this will help you
(I use it myself sometimes)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question