emilianavt / VSeeFaceSDK

The VSeeFace SDK for Unity is used to export models in the VSFAvatar format.
158 stars 11 forks source link

Adding props using VSF_Animations not working #23

Closed NothingMuch123 closed 2 years ago

NothingMuch123 commented 2 years ago

Environment

Steps to add new expression

  1. Import vrm
  2. Drag generated vrm prefab into scene
  3. Add prop onto vrm model
  4. Create animation clip with only 1 frame (Position and scale of prop changes only)
  5. Add new blendshape
  6. Attach VSF_Animations component to vrm model root gameobject
  7. Set blendshape and animation clip in VSF_Animations component
  8. Export vrm model gameobject to vrm file

Results

Tutorial followed: https://youtu.be/Jz81NOeJ92A?t=115

emilianavt commented 2 years ago

It's hard to tell what the issue could be in this specific case. Generally, rather than changing the scale to show/hide a prop, I would recommend disabling the object and then enabling it with an animation as shown in this tutorial. I would also recommend using two frames in the animation so that it has a start and end, although this may not matter much, and making sure that it is set to loop.

I would also recommend using UniVRM 0.89, especially with VSFAvatar format, since that is the version that VSeeFace uses.

NothingMuch123 commented 2 years ago

Thanks for the reply, I'll try out some of the suggestions you mentioned and get back to you again if it works or not.

NothingMuch123 commented 2 years ago

Thanks for the link to the tutorial. Turns out I was exporting the model wrongly. I was exporting to vrm with univrm instead of vsfavatar using the sdk. Will be closing this issue.