So, the problem is like this:
I have a script that makes an object look at my touch. The object rotates on one axis and snaps directly to where I have my finger positioned on the screen. I want to make it so that the object won’t do that. In other words, when I press on the screen - regardless where, I want the object not to rotate until I start moving my finger. I’ve included an image for illustration purposes.
F1 is the first touch. Instead of the object snapping to look at point F1, I want it instead only to rotate once I move my finger. The same for F2.
For clarity’s sake, I’ll explain my problem one more time: Instead of my object looking at my finger, I want it to instead rotate based on the change of movement of my finger across the screen.
I thought about trying to “zero out” the objects rotation after each touch ended, i.e setting the objects rotation to (0, 0, 0) without actually rotating the mesh, but I wasn’t able to figure that out (If anyone knows how to do that, please let me know).
Any help is greatly appreciated, thanks in advance.