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

Salvage: Fix Anim Tree blending inconsistency #53903

Closed

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Oct 17, 2021

Co-authored-by: Marios Staikopoulos marios@staik.net

This PR is a salvage of #34134. This will break compatibility with the old NodeAdd.

Fixed #37661. And it may fixes #34694.

2021-10-17.9.17.01-1.mov

In the first blending, the translation looks strange, but this is due to a change in #53689. This requires a new implementation of blending when no track exists, separately from this PR.

The second blending also looks broken at first look, but since the similar pose is applied twice, which is the correct behavior. Moreover, this change makes the proposal godotengine/godot-proposals#2700 worthwhile in conjunction with #53765.

In other words, godotengine/godot-proposals#2700 mentioned a problem with the previous animation system which the base pose for extracting additive animations was completely fixed on import, but this has been removed by #53765. The correct extraction of additive animation can now be done by implementing NodeSub or by setting the base pose as an optional parameter in NodeAdd.

Co-authored-by: Marios Staikopoulos marios@staik.net
@Calinou Calinou added this to the 4.0 milestone Oct 17, 2021
@TokageItLab TokageItLab changed the title [Salvage] Fix Anim Tree blending inconsistency Salvage: Fix Anim Tree blending inconsistency Oct 17, 2021
@TokageItLab
Copy link
Member Author

Superseded again by #54205.

@TokageItLab TokageItLab deleted the fix-inconsistent-blending branch September 16, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants