Hi all, i see severall ways to use an onscreen controller. I tried virtual joypad and also built in controls in Godot where I can use also buttons for some input actions.
What I dont understand is if it is possible to virtual use mouse controls. Like looking around what I can do with my mouse but I also want that option for touchscreens on Android for example. Anyone know how to use that?
Hmm, you might be able to set Emulate mouse from touch in the project settings, but I expect that would interfere with other touch screen controls.
A better option might be to add joystick support to your camera controls and use a virtual joystick, which is something 3D Android games often do. Without knowing your camera logic I’m not 100% sure if this applies, but if you add some input actions in your project settings for camera up, down, left, and right, and then use Input.get_vector method to fill the same role as the mouse movement vector you should get something workable.
For steering the car I have a virtual controller what works nice. I thought that if I make a button with handles like a mouseclick then can use the second virtual controller for mouse wheel but that is not working.