The problem: Transparent parts of the texture (roblox clothing template) are black on a MeshPart, I cannot use SpecialMesh or SurfaceAppearence as I need bones to animate and you can’t edit SurfaceAppearence with scripts (unless im missing something there)
(as you can see the clothes on a normal roblox avatar look fine compared to the meshpart one)
i set the TextureId of each limb on the character to the ShirtTemplate and PantsTemplate, i have tried it on a surfaceappearence and the transparency did work so i doubt its an issue with the image format roblox uses.
and yes, all the limbs automatically get colored to the player’s bodycolors so it is not black.
if anyone has a hacky solution or is willing to share the process of making avatars like this then please share, I’m not sure if there has been answers to this yet; i have looked for posts related to this and all were answered with the SpecialMesh and SurfaceAppearence solution.
What rig are you using? Is it a custom or R15 rig. Is it animated using bones? Are you using surface appearance Overlay? You can’t change it at runtime but if you’re using a R15 rig you should be able to insert a Shirt and Pants object
I still don’t have enough details. What are you using to deform the arms and legs? Are you using bones? And, for this you could use a S15 rig, then you can use stock Humanoid compositing to add the clothing on top.
ok to save myself the headache of dealing with this any further i decided to just set the transparency of the limbs that are textured to 0.01
which made the black texture turn to fully invisible
and then cloned the textured limbs, removed the texture and attached them to the original ones so that they are animated aswell
although i will have to avoid using the glass material which im fine with (it hides the clothes when seeing through it)
EDIT: turns out i didn’t even need to do any fancy stuff to get it to animate, just welding it with the classic Weld did the trick and animated properly (probably because of the Motor6D)
hope this helps anyone else making characters like this