Updating my question with some specific info:
Setting keyframes by hand (no code whatsoever) for the camera:
At frame 001: position: 960, 540, -2618 zoom: 800 pixels
At frame 100: position: 960, 540, -1800 zoom: 342 pixels
This produces the desired animation, that I was hoping to control by a slider:
Slider: clamp(value, min=342, max=800)
Camera zoom is pick-whipped to the slider…
Camera Z position code: cameraOption.zoom*1.786-3228.82
Argg, update: I now see, that I’m getting the right numbers but somehow my math is off!
Help appreciated, thanks:o)
Kind regards,
Mike