D
D
Dmitry Marchenko2020-05-25 22:13:47
C++ / C#
Dmitry Marchenko, 2020-05-25 22:13:47

How to make a character rotate relative to the camera in unity?

The camera rotates around the character, there is a joystick. I tried to use transform.forward to rotate the camera, but I don't understand how to correctly implement the rotation so that the character rotates relative to the camera in the direction of the joystick.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question