Hi,
I’m having a little issue trying to centre the ‘LeftVirtualJoystickOnly’, let me elaborate
I know I can go into the settings and manually type in X=312 to centre the joystick in portrait mode for the Galaxy S9 for example. But as soon as I change device to landscape mode the ‘Centre’ position changes, as the screens width changes from Portrait X=624 to Landscape X=1480. Therefore the centre position is no longer at X=312. And as such I would assume this to also be the case when publishing to other devices, as we all know mobile screens vary greatly, so even if I limited the game to portrait only, I assume I would still have this issue on other mobile devices?
Is there a way to auto detect the centre of current device screen and position the virtual joystick at that location???
GetScreenWidth/2 ???
Thanks for taking the time to look