0
$\begingroup$

I have game character with armor, and I need to avoid parts of the body clipping through the armor.

I tried using shape keys to shrink body parts under clothing, but it seems like it would be a lot easier to just hide the majority of the body that is underneath.

What would be the best way to go about this? I also need to be able to export the resulting mesh to Unity.

$\endgroup$

1 Answer 1

2
$\begingroup$

A way to do this is with a "Mask Modifier", simply create a vertex group and add weight to the vertices you want to keep visible. then on your object's modifiers, add the one named "Mask" and set the vertex group box to whatever name you called the one you just added the weight to, and voila! its now masked :D!!!

Step 1: Add vertex group and weight paint the parts you want to be visible

enter image description here

Step 2: Add "Mask" modifier and select the vertex group you just created, I named mine "Mask"

enter image description here

Step 3: Confirm that it was done properly (I changed the armor piece visibility from textured to wireframe to demonstrate this)

enter image description here

enter image description here

Hope that helps n.n!

$\endgroup$
1
  • $\begingroup$ Yes very much so! Now i need to figure out a way to code this into unity when the piece of clothing is equipped! Thank you! $\endgroup$ May 13, 2019 at 1:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .