Hello , Plz Can Anyone help me how to rolling ball by touch for mobile games right left forward backward… any help is appreciated
Hey there @II-Sarah-I! Welcome back to the community! First I’d recommend taking a look at this tutorial video to make a physical rolling ball pawn.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Once you “get the ball rolling” you would then have to decide if you want your inputs to be based on a HUD joystick or by swipes. Since most would expect a ball rolling game to be based on a virtual joystick, that’s already the default applied when launching a mobile instance. The Default virtual joysticks have Gamepad inputs already established and should work out of the box if you add Gamepad inputs to your pawn.
Thaaaaaaaaaaaank You SO MUCHHHHH IT is Workkkkkk
Hello, What if I want to move it by swipes?
Swipes will be a bit more effort, as they will require some blueprints towards processing it. Here’s a resource for implementing swipes (this one is for camera control but you can adapt it to movement):
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Thank you so much