For refit I mean that you can apply the same kind of shirt to multiple characters, being them different in height, body shape, and so on.
If you’re going to do something like that ( stealing clothes ) you have two options:
- Both male/female NPCs will have the same body/height shape, so that you’re basically swapping the cloth mesh, since the NPCs are basically clones with different textures.
- Use a morphable mesh which will adapt its shape to the current pawn…by doing this you can “refit” a cloth from a skinny guy to a fat guy and so on…
I’m using extensively the 2nd method, it works nicely.
In specific to extend my answer on the skin colour: you have your NPCs in a list ( array ) so that you can filter which ones will be using the caucasian material and which one iwll be using the african-american material…Create dynamic instance material could do the job in order to assign the materials, but I’m not 100% sure since I haven’t tested it yet.