I need to figure out a way of using a touch input the same as a Mouse Pick so that I can store what Game Object has been touched.
Im sure this is quite simple, but I can not for the life of me get it to work.
"Touch Object Event" does not work because it requires you to know what object you want to be touching.
Any help would be much apreciated.
Cheers,
Jasper
EDIT:
On another similar note, what I am trying to do is as follows:
Finger down.
- Check to see if the correct object was selected
- Get position of the object
- Compare my current finger position to the position of the object (every frame)
- I need this to be every frame so that I can change the graphic depending on where the finger is relative to the object selected (like a mouse down menu)
Finger up
- If my finger was released while the finger was over the object then shoot a bullet.
- If my finger was 1 unit above (screenspace Y) to my selected object then create a wall.
Note that this will be happening in multiple locations at once, so it needs to know independently what finger is touching in what location.