I'd like to adjust BlendShape with Makinom or ORK, but it does not work
Field name seems to be wrong, but I tried GetBlendShapeWeight etc., but it seems to be different
What is wrong?
I am translating using Google Translate
Sorry if there is a strange place
image
  • This would be great to know!
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
  • Can you give me a link to Unity's scripting API where the access to the blend shape is available? I looked for it (also tried in code) and didn't find any way to change the blend shape.
    If you're enjoying my products, free updates and support, please consider supporting me on patreon.com!
  • edited May 16
    Post edited by Natnie on
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
  • Well, not really, that's just a function to change a blend shape's weight - which you can do using a Call Function node.
    If you're enjoying my products, free updates and support, please consider supporting me on patreon.com!
  • Isn't adjusting the weights the same as controlling the blendshapes?
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
  • If it is, than there's your solution :D
    I've never really worked with blend shapes ...

    So, use a Call Function node:
    - Component Name: SkinnedMeshRenderer
    - Function Name: SetBlendShapeWeight
    - add an Int parameter, setting the value to whatever blend shape index you want to change.
    - add a Float parameter, setting the value to whatever wheight you want.
    The target object needs to be the game object you want to change the blend shape on.
    If you're enjoying my products, free updates and support, please consider supporting me on patreon.com!
  • Thank you
    It was done in a way using Call Function
  • Cool, this is useful for blinking and facial expressions. This way they don't have to be baked into the animations.
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
  • Thank you for last time. This time I would like to move data from BlendShape to a variable
    Therefore, I tried using Store Function Result, but it does not work with variable 0
    What is wrong?
    image
  • You have to use the GetBlendShapeWeight function for that (see Unity scripting documentation).
    It requires 1 int parameter.
    If you're enjoying my products, free updates and support, please consider supporting me on patreon.com!
  • Thank you
    I can do what I wanted to do with this
Sign In or Register to comment.