In my model there is the height map, and it can get any position on map as a camera target (with the aid of double click on it). but when I want to set a new target the camera suddenly change the position, how can i make an animation for moving the camera?
it is javascript and can interpolate any javascript value
just understand what interpolation is first , it is simply taking a start value and changing it to a end value over time. how it changes this value over time is pushed through a special function known as “easing”
Linear easing means a stead constant movement. “ease in” means starts slow and speeds up, they have many different easing functions to choose from.
Small set up to import the CDN in the playground and wait for it to load for use , wont be the same in production code , anyay to the point that matters this one line :