I am looking to create a setup where if you tap the right virtual Joystick it will act like the right thumbstick button.
However, i have been unable to even get a reference to the virtual joysticks in blueprints.
My initial plan was to keep the basic virtual joysticks based on the Touch Interface. Then, in my player blueprint detect a touch event within the location of the right Joystick (so that would be control 2 in the touch interface)
But, as stated above i am unable to get a reference to the Touch Interface, or the Virtual Joysticks.
“Or you can add buttons to touch interface “controls”, map input actions on that and process its input.”
Yeah, i tried that but it consumes the top input so either it will be the thumbstick, or if you make the button first priority it becomes really inconsistent.
“Only way to get reference - is to create your own joysticks with widgets.”
Yeah, i went down that route before i discovered the touch interface stuff. Looks like it’s the solution. Shame that their isn’t more control over the touch interface stuff out the box.
BTW I found out the hard way that UMG coordinates and touch coordinates are NOT the same, and you have to use the Geometry pin’s method nodes to translate between the two when I was making my own touch joystick.