Hi! I need change controls.target in a specific direction.
I use OrbitControls.
Now I change control.target like this:
gsap.to(controls.target, {
x: lookAt.x,
y: lookAt.y,
z: lookAt.z,
duration,
overwrite: true,
ease: 'none',
onComplete: () => {
this.controls.target.copy(lookAt);
}
})
I can see a sharp turn or a smooth turn depending of position new target point.
The duration of the animation does not affect this
Can I controlling rotation direction?