Touch to swipe and drag - please help

Does anyone know any good ways to write a script to swipe and select objects to drag them, so that they are at the tip of your finger? I’ve tried this a good few times and never get a result that looks good.

This was my last attempt: http://answers.unity3d.com/questions/18624/dragging-object-not-accurate

I also tried this way: http://forum.unity3d.com/viewtopic.php?p=379024#379024 but that was another fail.

I’ve tired so many different ways and its driving me crazy I think with this I’m limited by my lack of coding knowledge.

If you have/ know of a better approach I would really appreciate it as this problem seems to be stopping me in my tracks.

Thanks very much :slight_smile:

Are you asking for drag and drop style on 2D or 3D?

The EZGui would possibly offer some help with this as it has some gui functions (such as slider controls) which you may be able to use somehow? I am not sure so dont just take my word for it, have a look around.

I have 3d objects but the camera is in a stationary position.

I want to be able to select an object by swiping it and get it to follow my finger.

Hey Apple741, have you had any luck figuring this out?
I’m trying to do something similar but without the moving the objects, just selecting multiple objects with a single swipe gesture (mouse and/or iphone).

Your script on unity answers looks kind of promising for what i’m looking for, i will be giving that a shot.
Let me know if you have any suggestions.

Cheers!