hi

So while working on some stuffs, primarly cutscenes, something gets my attention.

Let's assume that the hero is at a fixed point (let's say X 100 Y 200)

The camera in situation 1 will be set at X 300 Y 200

The camera in situation 2 will be set at X 800 Y 150

These camera have as target, the hero

so, if we set a speed in the most basic way, let's say 500 and start the movement on the camera, the arrival time will not be the same. This is what leads me to this thread

Is there any calculation that will allow the camera in both situation 1 and 2 that will allow the camera to arrive to the hero at, let's say, 2 seconds, with speed calculated by this arrival time ?

I already know that the calculation will include the default speed (500) and the target arrival time (2000 ms)

Any help will be appreciated