Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Help Character Customization [Clothing Morph/BlendShape Problem]

Discussion in 'General Graphics' started by SmileTR, Feb 16, 2016.

  1. SmileTR

    SmileTR

    Joined:
    Jan 3, 2014
    Posts:
    20
    Hi guys,

    This problem, such ;
    Gif | Last Picture - 4 | Last Picture - 5

    Does the solution for this problem? (like vertices) Or another way? How to combine clothes with the body? I'm waiting for your help. Thank you.

     
    Last edited: Feb 16, 2016
  2. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,055
    You will need to either have the same blendshapes on all your clothing or you will need to have your clothing wrap to the target mesh, there is an asset on the asset store that does wrapping of items to a deforming mesh, check out the videos below.

     
  3. SmileTR

    SmileTR

    Joined:
    Jan 3, 2014
    Posts:
    20
    Firstly, thank you. I know that. However, this project paid. I need a free encoding or project. How to be a way? As an example.
     
  4. SmileTR

    SmileTR

    Joined:
    Jan 3, 2014
    Posts:
    20
    Help?
     
  5. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,055
    Might help if you say how much you are willing to pay, but it is a major job to write such a system.
     
  6. SmileTR

    SmileTR

    Joined:
    Jan 3, 2014
    Posts:
    20
    Yes I know. I'm looking for a "free" way. I can add a new "BlendShape". This may be the solution.

    But, "deltaVertices, deltaNormals, deltaTangents" Source, where values?
    • Source Character Blend Shape (Muscle) > Copy/Transfer > Target Clothing New Blend Shape (New Muscle)
    This road will be the solution.
     
  7. unitylepi

    unitylepi

    Joined:
    May 21, 2018
    Posts:
    34
    [QUOTE=" there is an asset on the asset store that does wrapping of items to a deforming mesh[/QUOTE]

    On the off chance anyone using megafiers reads this: I'm very interested in the wrap system for clothing, but cannot find any reference to it, or doc or tut for it, younger than 2013 :( Which leads me to believe it may no longer be supported, or it has some problems when used in gaming situations. So, if you're using it, I'd like to know if there are any problems with mesh deformations that caused you to go back to using rigged and blendshaped clothing instead. Secondly, I'd want to instantiate and use the system from code, rather than preloading all clothing and wrapping it in the inspector. It is possible to simply add the wrap component to any mesh in it's start function and call a remap?
     
  8. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,689
    There are no newer videos as the ones that were made show all that is needed to be shown, not had any requests for any newer Wrap videos or guides so we haven't made any. No point just making new videos to show the same stuff :) All our assets are continually supported and updated for new versions or Unity and any issues that might be found but as the assets have been around for a fair bit of time most issues were ironed out long ago :)

    The Wrap system whould give no issues as long as the clothing mesh topology matches the the target mesh quite closely, the only time there are any artifacts is when low detail objects are wrapped to higher detail or the other way around as you can get some poke through but you yould get the same with skinning to some exent so most users have no problem, there are options to move the wrapped mesh away from the target which will hide most issues.

    There is no reason why a mesh can not be wrapped via scripting, it is not something I have tried but I have had a couple of users recently ask if I could add some simple API to make it a trivial task so that is on the Todo list, it would just be taking the code in the Editor script for the wrap system and putting it inside a call in the main class so could be done by anyone with scripting knowledge.