Search Unity

Question How to have clothing move with animated character?

Discussion in 'Animation' started by angeldevelopment, Mar 28, 2023.

  1. angeldevelopment

    angeldevelopment

    Joined:
    Sep 28, 2022
    Posts:
    247
    I have a game released where I use the blender rigify add on to create animations and then I export them into unity via fbx. I can parent objects to certain parts of the rig and they will move with it.

    What if I want to add clothing to move with the mesh? ex. Pants. Pants cannot simply be parented to a piece of the rig as they must be deformed with the legs. One solution I can think of is to have the pants added/parented in blender, but what if I want 60 different pairs of pants for the user to choose from? What is the best way to accomplish this?
     
  2. Unrighteouss

    Unrighteouss

    Joined:
    Apr 24, 2018
    Posts:
    599
    As far as I am aware, this is the only solution. Once you bring it all into Unity, then you have a few different options to go about swapping them.

    This is a pretty good video on the topic:

     
  3. McSwan

    McSwan

    Joined:
    Nov 21, 2013
    Posts:
    129