已知多个坐标 做Tween

已知坐标 1 2 3 4 5
如何将一个node 通过tween 或者besier 沿着 1 移动到2 移动到3 移动到4 移动到5

/**当前位置索引 初始位置已经在0 所以从1开始 */
protected iPathIndex: number = 1;
/**所有路径节点世界坐标 */
protected lPaths: cc.Vec3[] = [];//坐标路径点
public StartMove() {
//时间 = 路程 / 速度 匀速运动
let iMoveTime = this.lPaths[this.iPathIndex - 1].sub(this.lPaths[this.iPathIndex]).len() / this.fMoveSpeed;
cc.tween(this.node)
.to(iMoveTime, { position: this.node.parent.convertToNodeSpaceAR(this.lPaths[this.iPathIndex]) })
.call(() => {
this.iPathIndex++;
//索引大于容器的长度 怪物死亡
if (this.iPathIndex > this.lPaths.length - 1) {
}
//递归继续移动
else this.StartMove();
})
.start();
}

只能递龟了吗。。。

贝塞尔也可以 可以看看这个插件https://forum.cocos.org/t/topic/113099/1
let lPos = [cc.v2(0, 0), cc.v2(100, 0), cc.v2(200, 0)];
cc.tween(this.node)
.then(cc.bezierTo(1, lPos))
.call(() => {
})
.start();

该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。