When I try to attach mesh to a bone during runtime attached mesh ends up having wrong position and rotation. Everything is fine when mesh is attached at code initialization.
Here you can see hair mesh is attached to head bones of both characters. On the left during code initialization and on the right after delay (using setTimeout)
I dont know if it’s something wrong with hair mesh or skeleton of character.
Here’s playground: Babylon.js Playground