Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump in animation under some circumstances during a drag event #1

Open
swizzlevixen opened this issue Apr 19, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@swizzlevixen
Copy link
Owner

Under some animations, if there is a large gap (usually dragDeltaFrames - 1) between keyframes, the script tries to accelerate the position to the next keyframe, causing a noticeable jump in the animation.

Workaround: Add more tweening keyframes manually.

@swizzlevixen swizzlevixen added the bug Something isn't working label Apr 19, 2020
@swizzlevixen
Copy link
Owner Author

I think the solution to this might be, in pseudocode:

if keyframeTimeDelta <= 4 frames {
    do not ease this movement
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant