Search Unity

Make replacable item match different charaters

Discussion in 'Animation' started by zhutianlun810, Mar 22, 2021.

  1. zhutianlun810

    zhutianlun810

    Joined:
    Sep 17, 2017
    Posts:
    171
    Hello,

    In my game, there is one female character and one male character. They have different meshes and bone positions. There are many replacable items in my game. Now I make two versions for each item, one for female and one for male. The male version is just a little bigger than the female version.

    In this way, It will waste a lot of disk just for two version of items. (I have a lot of replacable items). Therefore, I tried to make a unisex version for each item. However, due to character have different meshes and bones. I can't make my item match my character perfectly. For example, the arm of my character is going through my gloves(a replacable item).

    What I tried to do today was to upscale the size of gloves a little bit to match the arm. But I found that the scale of the gloves are totally controlled by the bones and the bones are controlled by animators. I can't change it from code in runtime.

    I am wondering what is the normal way to achieve my goal?