- Home /
Joystick for WASD & Joystick for Camera?
Hi all! I've seen on youtube using one joystick for cardinal movement and another for camera movement. This is the exact effect I want. But I've tried to implement it into my game for the last week with no success... I'm building a game for the the Android. I've searched for tutorials on joysticks, but too many are just way too vague or just don't walk anyone through at all. I've seen the code (Penelope), but it didn't help me to understand how to connect the movements to the player. Unless I haven't found the golden tutorial, anyone know how to implement this? I want the left joystick to control the WASD style movement, and the right joystick to control the camera rotation. Thank you in advanced.
Oh! Furthermore on the camera rotation, I'm trying to implement it in a way that the camera will rotate AROUND the player. So if you are walking and you rotate the camera, you can see all sides of your player, look behind, birds eye view. Pretty much, the camera can rotate around an invisible sphere around the player in a sense.