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

Add IgnoreActorMtx for interpolation and fix bunny hood + other interpolation issues #873

Merged

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Nov 24, 2024

With our interpolation system, for each actor we track their starting matrix and then each child interpolation path applies matrix calculations against that matrix.

For whatever reason, bunny hood does not like this. So I've added a new method FrameInterpolation_IgnoreActorMtx() that allows us to specify for the current interpolation record child to skip using the actor matrix. Upon closing the record child, the flag will become unset. This fixes the bunny hood jumping with interpolation when changing links position abruptly.

I don't really understand what the actor matrix specific handling does, but I know removing it is not good as then link will look flat when changing 180º

Fixes #412

Build Artifacts

@louist103 louist103 merged commit 00743d1 into HarbourMasters:develop-satoko Nov 24, 2024
5 checks passed
@Archez Archez deleted the more-interpolation-fixes branch November 25, 2024 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants