Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

粒子系统在开启视锥裁剪后boundingBox计算不正确 #1407

Closed
rwj1222 opened this issue Mar 14, 2023 · 1 comment
Closed

粒子系统在开启视锥裁剪后boundingBox计算不正确 #1407

rwj1222 opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rwj1222
Copy link

rwj1222 commented Mar 14, 2023

在旋转相机时,粒子会突然消失,关闭视锥裁剪就好了

@singlecoder singlecoder self-assigned this Mar 14, 2023
@singlecoder singlecoder added the bug Something isn't working label Mar 14, 2023
@singlecoder
Copy link
Member

问题原因:

粒子系统的 localBounds 默认就是 min(0,0,0) max(0,0,0),并且不会更新

修复方案:

设置粒子系统包围盒无限大,后续重构会实时预测,本次修复 PR:#1410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants