UE5 switch / remove clothes in UE5

A question about how to switch / remove clothes in Unreal Engine 5.8.
For example, assume I have Shirt A Shirt B and Pant C in CC5. Then I added Shirt A and Pant C to my CC5 character and export the character body with two clothes to Unreal Engine. In UE5.8, how to hide or remove Shirt A or Pant C for that character? In addition, if there anyway I can switch Shirt A to Shirt B without export another CC5 character? It does not make sense to export all kinds of combination if we let player to change their clothes.

Answer by my self:

In character material, check which material slots are for the clothes.

Then calls ShowMaterialSlots to hide / show it.

For the complicate cloth changing system, check AI. It involves extract cloth data from FBX and add chaos simulation in the extracted cloth skeleton mesh.

I would only do it like this if you plan not to use many characters … By hiding the mesh by replacing the material slot with some transparent material you create a lot of framedraw overload, because the mesh is not really hidden …

The good news is: UE has such a system already built in! It’s called “Mutables” and you can learn more about it here:

1 Like

This is a very useful information. Thanks!