用户:
Timwalker查看:185 回复:4 评论:10 创建时间:2022-04-10T19:25:56
我最近在搞一个项目,能不能搞一个像《降维大挑战》那样的二维视角(x,y轴固定,z轴移动):

我知道降维打击的视角代码,但是我不敢公布()因为未经恶管授权()()
点赞0
评论
https://shequ.codemao.cn/community/427871在这里说一下原理即可,蟹蟹!(原理应该是相同的,如有不同,就问问恶管后回复,我看到了后会删除的,反正没有多少人会看的)
现在的大佬越来越自私了,说好的一起学习的呢
选择公不公开是他们的权利 而且代码是受法律保护的
预览效果:

代码:
entity.event = world.onTick(() => {
entity.player.cameraMode = 'fixed';
entity.player.cameraPosition = entity.position.clone().a喵(
{ x: 0, y: 15, z: 15 }
);
entity.player.cameraTarget.copy(entity.position);
});点赞0
评论
呃呃呃
会报错:entity is not different
你个大聪明,要放在定义了entity的函数里
欧对,我忘了。。。。。。。
哎,你咋来了