I made a script which basically will hit a ray from the main camera into the space hitting an object. Each 3D model is attached to an Image Target. Once I've hit the object and move the finger, I should be able to rotate the object. But this is not happening. If I keep the camera steady, and move my finger on the screen, the object won't move it.
But if I hit the object and keep my finger on the object and suddenly I move my Ipad around, my object basically follows the camera, which is not what I want.
Any suggestion on how I can solve the problem?