My goal was to create a humanoid with a head that opens up with a mouth. I managed to achieve this by making two separate meshes, in which I attached to a normal humanoid NPC by making them accessories. A script sizes them to the proper size.
This works as intended, until I physically touch the NPC with my character in game. When I touch the NPC, something weird happens to the attachments. They spontaneously resize:
I think this might be caused by some form of the auto-sizing of accessories of scaled humanoids, but I’m not 100% sure. Another thing to note is that this change is only visible locally. The server sees no visible changes in the sizes of the accessories.
I’m positive that this doesn’t originate from something in my code. Does anyone know why this happens? If it is due to auto-sizing of accessories, is there a way to disable that? I know there is an AutomaticScalingEnabled property for humanoids, but disabling that removes the ability for the humanoid to be scaled via HumanoidDescription. Can I only disable this for accessories? Thanks!