I made some shape keys for my player model for equiping items. I am trying to set the shape weights from 0 to 100 when an item is equiped. The player is instantiated when I run the game, I am also using Photon but I wouldn’t think that would make a difference (though it might be the issue) When an item is equiped the shape keys should be set to 100, but it never moves at all. Not sure why it won’t ever change. Here is the code I am using:
avatar.GetComponentInChildren <SkinnedMeshRenderer>().SetBlendShapeWeight (4, 100);
It might also be that this code is grabbing the mesh renderer of the items that are equiped. Any help at all would be great!