Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Blendshapes on a mesh without bones/armature

Discussion in 'Animation' started by Steven-1, May 21, 2021.

  1. Steven-1

    Steven-1

    Joined:
    Sep 11, 2010
    Posts:
    455
    I made a model in blender, and I want to animate it with blendshapes in code, but apparently for no apparent reason, blendshapes only work on skinned-meshes.
    So now I'm wondering what the minimum is I have to change about the model to make blendshapes work on it, because just assigning the mesh to a skinnedmeshrenderer isn't enough to make it work (again, for no real reason apart from unity deciding this)
     
  2. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,748
    If the FBX file has Blendshapes in it Unity will make it a SkinnedMesh during import so it should just work.
     
  3. Steven-1

    Steven-1

    Joined:
    Sep 11, 2010
    Posts:
    455
    It has blendshapes in Blender, but if I import it without an armature the blendshapes aren't imported with it.
    But maybe the problem lies in the automatic FBX export step?

    I ended up making an armature with a single bone for it anyway, it's kinda stupid, but it is what it is