Hello! I am working on mobile support for my game!
What do you want to achieve?
In my game, players control a part. I set this up using directions (right, left, up, down and right, etc.) on keyboard. How can I set this up for mobile?
What is the issue?
I do not know how to do this, and am wondering if anyone knows.
What solutions have you tried so far? Did you look for solutions on the Developer Hub? Please note: I have searched for solutions, and I have recognized an issue. I have disabled character loading. Does anyone know how to do this?
Edit: This reply was meant for OP in regards to the info MrLegendaryDoge supplied.
The wiki is actually unclear regarding how to get a mobile thumbstick orientation. This is actually really troubling considering similar functionality exists for gamepads…
But anyways, there is a way the wiki sort of hints towards, and that is using GetLastInput. You can find more here on the different inputs you can check for, but GetLastInput should tell you what the player is using (and hopefully the position of the thumbstick, but I cannot vouch for this since I haven’t tried it). Give it a try and let me know if it works out. You may need to look for additional resources if it ends up not working, or perhaps someone with more knowledge can help you figure out the small details.
Works. However, how would I make this live updating? It converts this to a Vector3, but I still need to round it to Right, Left, Up, Down, Up and Right, etc.