- Home /
Question by
Supereor · Jul 21, 2018 at 04:12 PM ·
joystickstandard-assetsstandardassetsmobile
How to move StandardAssets joystick to where player taps
Is there any way to get Unity's StandardAssets joystick to move to where the player first taps, instead of being locked to a specific position? Kind of like the joysticks for the mobile version of Terraria. The same question was asked here, https://answers.unity.com/questions/1179923/change-the-position-of-the-joystick-by-tap.html but the person who asked linked to code on a page that no longer works, so I can't see how they did it.
Comment
Best Answer
Answer by Supereor · Jul 27, 2018 at 04:26 PM
I found the solution to this myself. Rather than adapting the standard Unity mobile joystick code to match what I was looking for here, I simply used Fenerax Studios' Joystick Pack and changed a few things around to match my game.