-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Describe the bug
移动方向bug:摄像机没问题,但是人物wasd移动不能按照人物面朝的方向进行移动
碰撞箱bug:比如从上到下进入方块,却只和底面碰撞。估计是位置错位之类的问题
(overlapsOnOtherAxes 从来没被调用,但好像不是什么问题)
渲染剔除bug:不知道为啥,剔除范围太大了,所以我就注释掉了
增加删除方块bug:不是根据raycast视线来删除的(好像是根据固定顺序删除),增加方块也不可见,但是肯定是增加了
(感觉之前的段错误是 即时制事件队列导致的,所以现在新增了新的事件队列,在每一tick的末尾修改实体
现在增加方块好像看不见了,删除方块能看到,但是删的太快了,位置也不对。而且event bus都没派上用处,像一个累赘)
渲染库bug:用bgfx代替opengl进行渲染的时候(只改render system和world.cpp的代码)
bgfx无论如何都不能初始化
原因:vcpkg下载bgfx的时候没有对m4的MacBook进行很好的适配,导致链接错误
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.