A
A
Alexander2020-09-01 21:18:09
C++ / C#
Alexander, 2020-09-01 21:18:09

How to make the character's arms and weapons rotate behind the cursor in a Unity 2D game?

How to make the character's arms and weapons rotate behind the cursor at a certain angle in a Unity 2D game. The maximum that I could do was put the Joint on my hand and add a script for rotation behind the cursor and indicated the rotation limits in the joint, but pointing at the sprite, it started to shake and the limits did not work. Help me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WasTabon, 2020-09-01
@WasTabon

How to make the player turn behind the cursor like in Top Down Shooter Unity3D 2019?

P
piffo, 2020-09-02
@piffo

One
Two
Three
And this is only at first glance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question