Creating a second Joystick on mobile

Hey guys, I am trying to implement a second joystick on mobile for my top-down shooter game but I’m having trouble figuring things out.

The reason why I want a second joystick, is so the player can move with one joystick, and rotate their player with the other joystick. (As I said earlier, this is a top-down shooter game)

Is there any work arounds on how to easily implement a second joystick, or do I have to make a entirely new custom joystick?

1 Like

Try this:

(Some code may or may not be outdated)

Appreciate the reply, but this would only create a mobile button which is not what I am trying to achieve here.

According to the thumbnail it teaches how to make a joystick, might be clickbait tho :sweat_smile:

What you could do is duplicate the core joystick if possible and revise to your own needs

1 Like