I am having a strange problem. I have created a skeletal mesh having several clothing components who share the same animation blueprint , contained within the character blueprint. So at the beginning of the game , I can decide which set of clothes the actor should wear and set the respective asset accordingly, as shown below, which works perfect.
Below is the result of clothing combination , which is perfectly in sync with the animationset , and showing no error.
However, I want to change clothes in runtime. So I walk up to the wardrobe, select a cloth, and hit equip, as shown below :
So in the wardrobe inventory widget I am calling the character class clothing variable and changing its skeletalmesh value, as shown below:
But this is giving very bad result. The cloth and the mesh is not in sync, as seen below:
I don’t understand. The same code is getting executed both the time. Also I have tested with all the clothing meshes at the beginning of play, and they are perfectly in sync at that time. Kindly help.