Transparent textures on limb dismemberment system

Hey!
Recently I have been looking into making a limb dismemberment system, but ran into some issues.
So, initially what I was doing was when the limb is broken, the limb is replaced by a new limb that is broken and such.

And to apply clothing to the character I was going to use Surface Appearance, however a major flaw with that is that the Colormap property cannot be changed with a script

Throws this error:
image

The issue is not regarding the code however…

Instead it is what can I use instead of Surface Appearance

First I thought of using the texture on the Mesh itself, however I came across this issue:
image

So whats happening is when the texture of the shirt or a part of the texture is transparent it just turns… black , though the colour of the mesh underneath is not…

I want it to look like:
image
the part that’s meant to be transparent is transparent…

So my question is:

Is there any fix for this? If not what alternative could I use to prevent this issue?

Are you saving the image as a .png file?
Transparency can be used with those when you create the image with the areas you want transparent erased.

Also have you ever tried using Skinned Meshes? If the MeshPart is deformed the skinned mesh will be deformed as well to fit the Mesh properly.

I’m applying the texture dynamically. It grabs the players shirt ID and applies it.
This is so no matter the player the shirt on the limb will match them.

1 Like

Found instead of using a mesh part , using a part and a Special Mesh along side a decal works. Thanks for the help :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.