Scale issues using instantiateheirachy

Hello :slight_smile:

I have two playgrounds here

I am using instantiateHierarchy to create my instances but for some models the scaling and rotation seems off, the second playground does this correctly unlike the first one

compliments of the season :christmas_tree:

1 Like

You need to clone the skeleton for use with the 2nd model and set the overrideMesh property:

It’s probably easier to use an AssetContainer with the instantiateModelsToScene method. See this thread:

4 Likes

Oh nice Thanks!

the scale issue only shows up when i toggle donNotInstantiate option false, so i assume there’s no workaround this unless i do a cloned mesh instead of an instancedMesh?

Yes, you need cloning and not instancing for this to work.

1 Like