can some kind soul point me in the direction of some docs/tutorials that explain how to process touch inputs?
I want to process taps, multi taps and directional swipes.
tia
can some kind soul point me in the direction of some docs/tutorials that explain how to process touch inputs?
I want to process taps, multi taps and directional swipes.
tia
Hi, Simplest way is just add the Touch Event node to you player controller Event graph… from there you can decide what to do depending on the type of touch. I generally have variables to track the location and sate ( up or down) of each finger , that way you can work out how much a finger has moved etc. Here’s a screen shot of my Player Controller event graph. It looks a bit messy as it is made to cope with the game being over or paused but essentially each type of touch fires off a function
rOb
Thanks for replying!
I should’ve said that I am using the ar kit sample. I want to be able when the human player touches a mesh.
I’m guessing I will have to add a player actor that follows the camera position, checking for touch events. Then transform the 2d touch co-ords into 3d and check for collisions?
Hmmh, my head hurts lol