Hey there,
I am trying to move my camera around when I slide my finger over the screen using input.GetTouch(0).deltaTouch in a transform.translate method. However, I cant seem to figure out, how to move at the same speed of my finger.
So, how do I do so the camera moves at the same speed of my finger?
atm I’m using:
Vector2 touchDeltaPosition = Input.GetTouch(0).deltaPosition;
Camera.main.camera.transform.Translate(
touchDeltaPosition.x / 2,
touchDeltaPosition.y / 2,
0);
~Mikkelet