Tagged Questions

0
votes
0answers
122 views

Object drags wherever I touch on screen- Iphone-Unity

I am trying to drag my game object using iphone touch. I am having the problem that my object is dragging wherever on the screen I touch, I want it to drag only when placing my finger on object. Here ...
2
votes
1answer
260 views

Raycasting in Unity3D?

I have a game object on screen represented by a cube (but say it was a quad or something else all the same). How do I raycast to check intersections? Keeping in mind I may not be raycasting fora ...