-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
StaticGeometryGenerator: Add support for InstancedMesh #419
Comments
Hi! Any news or plans on supporting InstancedMeshes? And meanwhile, is there maybe an example somewhere how to use InstancedMeshes without the library support? |
This issue is about StaticGeometryGenerator. BVH already works with individual InstancedMesh instances. |
Ok, sooo should I be able to create the collider without I'm new to Three JS (and 3D in general), this is how I was able to generate the collider for my React Three Fiber
This doesn't however work with |
Okay I see - yes it's correct that they are not supported with that function. You can manually convert the instanced mesh to one giant mesh but it is likely memory intensive. A separate top level acceleration structure would be best for handling something like instancing but that's not supported at the moment. If you'd like to try converting the instance mesh to a single geometry I recommend asking at the three.js forum. |
Ok, thanks for the info! 🙏 |
No description provided.
The text was updated successfully, but these errors were encountered: