用户:yee剑走天下查看:15 回复:4 评论:15 创建时间:2022-06-28T19:52:17
代码这里自取,记得改坐标~
console.clear();
world['onPlayerJoin'](({ entity }) => {
entity['player'].cameraMode = Box3CameraMode.FPS;
entity.player.spectator = true;
let donghua = entity['animate']([
{ position: [84, 11, 71], duration: 9 },
{ position: [100, 19, 71], duration: 0 }
], {
duration: 16 * 4.5,
direction: Box3AnimationDirection.NORMAL,
iterations: 1
})
donghua.onFinish(() => {
entity.player.cameraMode = Box3CameraMode.FOLLOW;
entity.player.spectator = false;
})
})
我是一剑~去岛三给我个关注吧~(什![]()