- Home /
Answer by lil_billy · Nov 17, 2012 at 09:09 PM
so the first problem is finding a way to touch an object on mobile unfortunately you cant use an onMouseDown
(other people might have a better solution ) but i would try raycasting from the cameras position in the direction of the mouse touch or if its top down you could just use the touches x and z locations for the raycasts origin and set the Y to whatever
after that you just tell whatever the raycast hits to do whatever you want