Smooth setTarget while moving?


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.


Not sure if this is what you want:
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.