Hello everyone,
I was needing some help in setting up a custom touch interface for my unreal engine project. When I use the default touch interface, it works well, but when I try to make my own it doesn’t work. I have narrowed down some of the issues a little bit but haven’t been able to resolve the issue. I used this tutorial to make my interface https://www.youtube.com/watch?v=0KqJFeTekd0&t=337s. I first tried checking to see if the default interface works by going into input - mobile and clicking default virtual joysticks. This was able to work. Then I changed the default to none since I want this to be modifiable in the options menu - such as if someone on a mobile device wants to use a controller. I used the activate touch interface node and selected default virtual joysticks and initially it wasn’t showing up like before but when I added a 0.2 second delay then it was working like before. I then proceeded to create my custom touch interface. I removed the default joysticks from the activate touch interface node and from the default touch interface in project settings. I went to content browser, add new asset, miscellaneous, add touch interface. Then I added an index and uploaded an image of a joystick icon that I wanted to use. I added the visual size, interaction size and thumb size and mapped the joystick to the gamepad option. I am using the third person character template that came with unreal engine so the gamepad option was already setup. I added a jump button in the same way. Then I first selected my custom interface in the project settings default. It was showing up correctly but it was not interactable and the components were not working and allowing for movement. I removed it from the default touch interface in project settings and also tried to activate it using the activate touch interface node and then it was not even showing up. I also wanted to know how to not have the buttons hide behind my head up display. I created a HUD that I wanted the touch interface to be infront of and added the HUD to the viewport with a z-order of 0 and in the following node selected the activate touch interface node, but the default controls would show up behind the HUD - which was a widget blueprint. I am attaching screenshots below and would appreciate any help as this is interfering with me completing my project.
Thank you
I was able to resolve this issue by resizing the buttons and adding more delays. It is still having issues but not the ones that I had posted from above.
1 Like