Expanding Instanced meshes


#1

Requesting someone to extend InstancedMesh to allow multiple instances of a mesh to be attached to multiple different skeleton’s bones; allowing an InstancedMesh to have its own parent, I think.
Also, its own Material would be cool.


#2

An instance inherits the parent’s material. For an object to be its own parent or to change the material of copy object you must cloned. An instance is not a clone of an object.


#3

After looking at a similar question with how UE4 does it, I can understand the limitation on the material.
But, should changing the parent really require a new mesh? I’m not asking about how it’s done currently in Babylon.JS, I’m asking if it can actually be done.


#4

It is already the case actually. Instances can have different parents


#5

In 3.3.0, when I create a mesh, then create instance A, B, and C, and I attach either instance to a bone of another mesh, all other instances are then attached to that bone.
I may have been incorrect in assuming this had to do with parents, and I maybe should have brought it up originally.


#6

No worry:)