Tween怎么写一个螺旋轨迹啊?

谁知道怎么用tween写一个螺旋轨迹,我这倒是螺旋运动了,可停不下来

    let a = 0, b = 10, angle = 0;
    const acceleration = 0.1, circleNum = 2;
    let x = 0, y = 0;
    let pos = v3();
    tween(this.node)
    .to(10, {angle: circleNum * 2 * Math.PI}, { onUpdate: (target, ratio) => {
        x = (a + b * angle) * Math.cos(angle);
        y = (a + b * angle) * Math.sin(angle);
        pos.set(x, y, 0);
        this.node.setPosition(pos);
        angle += acceleration;
    }})
    .start();

update里面写不行么…

不用停,你的螺旋可以突破天际!

已经在update里面做了,哈哈,那会晕乎了