DeltaPosition doesn't change to zero when movement stops

Ask for help and post bugs.

DeltaPosition doesn't change to zero when movement stops

Postby keenanwoodall » Tue Mar 28, 2017 9:14 pm

If I pan around and then stop moving while still holding my finger down the DeltaPosition of the ScreenTransformGesture doesn't change to Vector3.zero. It stays at the last value that wasn't Vector3.zero. This means that whenever I stop moving but keep my finger down, the camera will jolt when my finger releases and the last non-zero delta is applied. I want the delta to be set to zero when there is zero delta and a finger is held down. I can't find where the code needs to be changed so help would be appreciated.

Here's a video showing the delta issue: https://www.youtube.com/watch?v=Ds_Bnp4EaFM
keenanwoodall
 
Posts: 1
Joined: Tue Mar 28, 2017 8:37 pm

Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests