Search Unity

Mesh surface modification with animation

Discussion in 'General Graphics' started by alvifarooq, Nov 12, 2018.

  1. alvifarooq

    alvifarooq

    Joined:
    Sep 14, 2015
    Posts:
    21
    Hi all,

    I want to add a few quads to the surface of a mesh, ensuring that the quads move with the surface when the mesh animates e.g. adding a moustache quad to the face mesh of a character. So far, I've tried the following approach:

    1. Add the moustache quad on the face mesh
    2. Bake the face mesh together with the moustache quad
    3. Use the combined mesh in (2) instead of the face mesh in the skinned mesh renderer.

    As you can see, I don't modify the 'bones' of the face mesh so I'm unsure why the quad does not animate together with the face.

    Any advice how to do this in the right manner?
     
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    704
    If you wan't to merge this moustache to a skinned face, you will also probably have to send skinning informations (bone weights) for the moustache vertices. That's probably why it doesn't animate with the face.