- Home /
How to connect an onscreen joystick with a character?
I've been building a type of 2D space shooter and have placed a single joystick on screen which moves around when dragged. What I was wondering was how to connect it to a character, to make the character move around. What script do I have to give my character to bind the two and finish my game?
Comment
Answer by getyour411 · Jul 29, 2015 at 12:16 AM
Look at the Unity Input Manger, which has joystick directional options too. You can use that to connect to the Unity Standard asset controllers, or your own custom one.
Your answer
![](https://koobas.hobune.stream/wayback/20220611233450im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Skybox uses 1.7k Tris and 5.0k Verts even if occluded? 1 Answer
In-game Map - Texture to World Coordinates 0 Answers
Broken wrapping in Unity 5.0 0 Answers