Adding props using VSF_Animations not working
NothingMuch123 opened this issue · 3 comments
Environment
- Unity 2019.4.31f1
- UniVRM 0.98.0
- VSF_SDK v1.13.38
Steps to add new expression
- Import vrm
- Drag generated vrm prefab into scene
- Add prop onto vrm model
- Create animation clip with only 1 frame (Position and scale of prop changes only)
- Add new blendshape
- Attach VSF_Animations component to vrm model root gameobject
- Set blendshape and animation clip in VSF_Animations component
- Export vrm model gameobject to vrm file
Results
- Prop is visible in VSeeFace
- Prop position and scale does not change when using shortcut key to toggle expression
Tutorial followed: https://youtu.be/Jz81NOeJ92A?t=115
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.
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.
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.