- Home /
Question by
Dead_Pixel203 · Jan 07, 2017 at 10:36 PM ·
androidmobilecamera-movementdragsliding
Drag camera: Translate and DeltaPosition: move object a little further at end [ANDROID]
Hi guys,
I drag my camera around like this:
Vector2 touchDeltaPosition = Input.GetTouch(0).deltaPosition;
transform.Translate(0, -touchDeltaPosition.y * speed, 0);
It works perfectly, but I want that the camera moves a little bit further at the end. Something like it is on ice.
Can someone please help me??
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612104155im_/https://answers.unity.com/themes/thub/images/avi.jpg)