camera-controls icon indicating copy to clipboard operation
camera-controls copied to clipboard

Transition styles

Open samevision opened this issue 1 year ago • 1 comments

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

samevision avatar Oct 17 '24 10:10 samevision

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

yomotsu avatar Oct 20 '24 16:10 yomotsu