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

Implement reverse playback for animtree #41723

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Sep 2, 2020

For #21665 and #27215.

  • Since it is assumed to be a non-reverse play, find() gets the key frame just before the current time.
  • Also, the Animation Node was interfering with the loop and root motion.

This fix solves these issues and implements a negative Time Scale in the Animation Tree.

https://www.youtube.com/watch?v=iPIG41NEgyM

I've uploaded a sample project to be used for testing.

animation_tracks_test.zip
reverse_root_motion.zip

@Calinou Calinou added this to the 4.0 milestone Sep 2, 2020
@Calinou Calinou added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Sep 2, 2020
@akien-mga
Copy link
Member

This should be rebased to remove all the irrelevant commits, see PR workflow.

@TokageItLab
Copy link
Member Author

TokageItLab commented Sep 2, 2020

I'm so sorry, I've reworked the branch and PR to go along with the rebase.

Please see #41728.

@TokageItLab TokageItLab closed this Sep 2, 2020
@akien-mga akien-mga added archived and removed cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Sep 2, 2020
@TokageItLab TokageItLab deleted the Implement-reverse-playback-for-animtree branch September 2, 2020 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants