- Home /
Are submeshes of combined mesh can share the same mesh instance?
Hi all. Imagine scenario where you have a 3d model of projectile and wanted to create large ammo storage based on it. Ammo storage can have few thousands of projectiles and ship can have few such ammo storages for different artillery types. Creation of such large amount of game objects for each projectile will completely kill performance. Creation of appropriate storage mesh in 3d modelling application will produce too much polygons even if you simplify original projectile 3d model.
Looks like combining many projectile meshes into a single mesh can help but it have a sense only if each projectile submesh will be linked to the same 'sharedMesh' so only single projectile mesh will be actually used. This looks similar to Unity trees system. So are submeshes of combined mesh can use the same mesh instance? Documentation seems not covers this question.
Maybe other solution for this scenario exist?
Thanks in advance.
Your answer
Follow this Question
Related Questions
Gather all the Meshes into 1 1 Answer
CombineInstance[] submesh index 1 Answer
Combining meshes doesn't reduce triangle count 0 Answers
Combining Objects for Performance 0 Answers
Manual Batching 0 Answers