Lv.1
在 【教程】我又又又来搞事了 中回复
草,吃我排版我终于体验到吃排版的感觉了imgsrc="http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/9d/sada_thumb.gif"alt="emotion_泪"
2022-05-03T13:06:37 点赞:1
在 【教程】我又又又来搞事了 中回复
众所周知entity.player.cameraMode=Box3CameraMode.RELATIVE;entity.player.cameraPosition=newBox3Vector3(-0.01,40,0);entity.player.swapInputDirection=true;entity.player.reverseInputDirection=Box3InputDirection.HORIZONTAL;entity.player.cameraFreezedAxis=Box3CameraFreezedAxis.Y;entity.player.freezedForwardDirection=newBox3Vector3(0,0,1);这行代码是让玩家视角变成2d的那么问题来了如果我在地图里想要在切换2d视角后在切换第3视角会怎么样结果我试了n遍变成第三视角后玩家不能左右看了于是我在2022年4月10日研究到现在看看能不能解决终于我在今天解决了!!!!下面代码公布!!!entity.player.cameraMode=Box3CameraMode.FOLLOW;entity.player.swapInputDirection=false;entity.player.freezedForwardDirection=null//this.player.disableInputDirection=Box3InputDirection.NONE;entity.player.reverseInputDirection=Box3InputDirection.NONE没错就是这个代码解决了这问题!!!(小声bb这个是我在我的蜘蛛侠大战中试了n遍解决的链接:https://box3.fun/g/343231这个是我早期作品大家别喷哈那么这期教程ok了bye~
2022-05-03T13:06:54 点赞:0