Smooth setTarget while moving?

Hi,

The PG

I would like to have a smooth look at from red plane to green plane, while the camera is moving.
Right now, the transition is obvious: it jumps from red plane to green plane, it even go back and forth. It should smoothly move toward the green plane then keep looking at it.

I don’t know where to “look at” to achieve my wish.

Thanks!

Not sure if this is what you want: https://playground.babylonjs.com/#DWPQ9R#2245
The target should move from the plane1.position to plane2.position, it is not aware of the camera.position.

1 Like

Thanks tanpopo! Exactly what I tried to achieve.

Nice