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

Transition styles #545

Open
samevision opened this issue Oct 17, 2024 · 1 comment
Open

Transition styles #545

samevision opened this issue Oct 17, 2024 · 1 comment

Comments

@samevision
Copy link

Is your feature request related to a problem? Please describe.

Hi,

it would be very nice if we could change the transition style to linear or different ease functions.

Is it possible to extend it?

Best

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@yomotsu
Copy link
Owner

yomotsu commented Oct 20, 2024

I don't think it's possible. The Camera-Controls is managed by SmoothDamp, which is a type of damping rather than easing.
If you wish to use general easing, I would recommend using a tween library like:
https://yomotsu.github.io/camera-controls/examples/path-animation.html

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