Smooth camera float based on mouse movement?

PlayCanvas allows to interpolate two vectors. There is an example, where a camera was moving from a fixed point A to a moving point B, by interpolating those positions. It is pretty much the same case for you, except your target vector is changing, based on mouse/touch input:

2 Likes