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

cubic_interpolate() and cubic_slerp() cause overshoot #57952

Open
TokageItLab opened this issue Feb 11, 2022 · 1 comment
Open

cubic_interpolate() and cubic_slerp() cause overshoot #57952

TokageItLab opened this issue Feb 11, 2022 · 1 comment

Comments

@TokageItLab
Copy link
Member

Godot version

4.0.dev, 3.4

System information

Any

Issue description

#40592 split and resend. Current cubic_interpolate() causes overshoot; we should consider employing modified-akima interpolation.

References of modified-akima:

Steps to reproduce

2022-02-11.9.39.40-1.mov

Minimal reproduction project

cubic_interpolation_test.zip

@TokageItLab
Copy link
Member Author

As a first step, we need to refactor the implementation of cubic_interpolate(). Currently, they are duplicated in Vector2, Vector3 and Animation. It should be implemented as one of the Math functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants