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

gltfloader 读取到的 gltf.scene.children 数组长度只有 5 #39

Open
xlucky0712 opened this issue Dec 16, 2022 · 1 comment
Open

Comments

@xlucky0712
Copy link

请问,我使用 gltfloader + @pixiv/[email protected] 读取到的 vrm 返回值,打印出来的 gltf.scene.children 数组长度只有 5,会是什么原因呢?
后续执行的 VRMUtils.removeUnnecessaryVertices(gltf.scene) 直接报错

@xianfei
Copy link
Owner

xianfei commented Jan 15, 2023

正常情况读出来数组长度就是5,报错的话可以试试直接把那句话删掉
WX20230115-214001@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants