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

Controlling BlendShapes with animation and code

Discussion in 'Animation' started by coshea, Sep 14, 2020.

  1. coshea

    coshea

    Joined:
    Dec 20, 2012
    Posts:
    319
    I've got a skinned mesh with 8 blendshapes, 6 of them are animated as actions with blender. On the same mesh I'd like to control the remaining 2 blendshapes with script. Should that be possible? When the animation is playing, I can't seem to control those 2 blendshapes (either in code or in unity editor). When I turn the animator off, I can.

    Any thoughts?

    Thanks
    Chris
     
  2. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,035
    Check the animation window(not the animator) inside unity, maybe there is some key in the exported fbx animation driving the blendshapes.