emilianavt / VSeeFaceSDK

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

Do blendtrees work for VSF? #41

Closed MooshPaw closed 8 months ago

MooshPaw commented 8 months ago

Just a question rather than an issue, i saw the whitelist of scripts and i see the animator which should be the main component, but i wanted to ask if blendtrees are also whitelisted or are not supported by VSF

emilianavt commented 8 months ago

Since I believe that blendtrees are only added within runtime animator controllers, not as regular components, I think they should work. Note that that avatar's main Animator is always overridden by VSeeFace, but additional Animator components elsewhere can be used freely.

MooshPaw commented 8 months ago

Thanks, I decided to kinda debug the blendtree functionality but my guess is that it doesn't actually work

It works fine in unity as you can have anything there and it works just fine, but once exported to vsf it no longer seems to work

I did the same test but with basic transitions rather than blendtree parameters and works that way

emilianavt commented 8 months ago

That's good to know. I wonder why it doesn't work though.

MooshPaw commented 8 months ago

My guess would be that it needs a specific whitelist, but I don't know much about the unity scripting

MooshPaw commented 8 months ago

Ok nevermind everything, after some work i did end up getting the blendtree to work, it's just hard to set up the parameters due to the nature of changing parameters with animations, but it definitely works