Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This plugin allows apply easing to Minecraft: Bedrock animation by manipulating
anim_time_updaterather than per-keyframe basis. Easing can be only applied to animations with default or emptyanim_time_updateand known animation length (not infinite or 0).There are few flaws for this plugin:
Because easing require
tfrom 0 to 1, andt = current_time/total_duration. There's no molang for getting animation length. Same case with loop.These easings have out of bound value while Minecraft just clamp it within animation length.
I guess this is because it doesn't support playing backwards? I've tested in-game and works perfectly. (Blockbench version was 5.0.7)
Variable names are prefixed and hashed based on animation name, there's shouldn't be conflict or collision between them.
Preview
preview.mp4
There's also
Apply Easingsto manage all current animations easing with modal or dialog.