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

Bug - Bezier curve drag bug #463

Open
tomorrowevening opened this issue Oct 23, 2023 · 1 comment
Open

Bug - Bezier curve drag bug #463

tomorrowevening opened this issue Oct 23, 2023 · 1 comment

Comments

@tomorrowevening
Copy link
Contributor

Once a keyframe has easing on both sides, changing the value in-editor results in exponential curvature.

Screen_Recording_2023-10-22_at_19.32.57.mov
@bigmistqke
Copy link

bigmistqke commented Oct 23, 2023

to clarify:

  • the bug is most visible when the two consecutive values are very close to each other in y-value,
  • most likely due to the fact that the coordinates of the beziers are defined relative to plane defined by the two consecutive points, like a lerp.

to illustrate:
while relative to the plane works when the delta in y-values is not close to 0
Screenshot 2023-10-23 at 08 51 15
it creates enormous values once it does come close to 0
Screenshot 2023-10-23 at 08 51 25
if you then start moving the points you will get the erratic behavior as seen above

my proposal:
have the y-value of the bezier's handles be defined in an absolute unit, while the x-value is relative to the distance from 1 point to the consecutive point.
Screenshot 2023-10-23 at 09 02 49

an example of how that looks like:

Screen.Recording.2023-10-23.at.09.03.32.mov

link to implementation in solid

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

No branches or pull requests

2 participants