dolly
Adjusts the camera's distance from the target by the specified amount. The change in distance is applied immediately if instant
is set to true
, otherwise it will be interpolated over time with smoothing.
Parameters
distance
the amount to adjust the camera's distance by
instant
whether the adjustment should be applied immediately (default is false
)