blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

Flip Animation is inexact when keyframes don't fit Snapping

Open Cub0use opened this issue 2 years ago • 4 comments

What are you trying to do, and what do you expect to happen?

Using Flip Animation to copy and offset keyframes to a symmetrical group.

What happens instead?

  • The starting/ending keyframes are doubled at 1 step offset from one another.

  • There should be a created keyframe at the end of the flipped channel, the same as at timestamp 0 (when there isn't an original one at exactly half the animation length)

  • The keyframes in the middle of the animation are not placed precisely at + half the animation length (because they respect the animation's Snapping value).

https://github.com/JannisX11/blockbench/assets/81629481/086e1573-821f-4403-8e1e-66ddec772b9f

When I double the snapping to 50, the flipped keyframes can get a timestamp offset by exactly half the animation length, and the issue is not present.

I understand that flipping the keyframes will still be an approximation of the originals when offsetting them, but the two first points are bug material to me.

Perhaps there should be a tick box in the flip animation tool dialog to double the snapping value, if needed?

Model format in which the issue occurs

Bedrock Entity

Blockbench variant

Program

Blockbench version

4.9.1

Operating System

W10

Installed Blockbench plugins

N/A

Cub0use avatar Dec 16 '23 09:12 Cub0use

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 10 '24 11:12 stale[bot]

Commenting to avoid the bot closing the issue.

I checked in Blockbench 4.11.2, the issues presented in the three bullet points are still present.

Cub0use avatar Dec 10 '24 14:12 Cub0use

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 06 '25 02:12 github-actions[bot]

Issue still present in 5.0.4

Cubouse avatar Dec 06 '25 11:12 Cubouse