Open Link2Twenty opened 1 year ago
You can save result of animation and stop them when it need.
this.pointAnimatables = EasyPropAnimation.run(camera, {
target: newTarget,
transition: 'all 1s linear',
});
private stopPointAnimation(): void {
this.pointAnimatables?.forEach((animatable) => animatable.stop());
}
Hi, when animation a camera position I would love to have an abort controller support so I can relinquish camera control to the user if they start trying to move the view.
Currently I use my own camera moving scripts and do this
and I think it would be a great addition to the
run
function.