BlackStartx / VRC-Gesture-Manager

A tool that will help you preview and edit your VRChat avatar animation directly in Unity.
MIT License
304 stars 23 forks source link

Contact Receivers set to "Allow Others" still get triggered in the Emulator #35

Open BluWizard10 opened 1 year ago

BluWizard10 commented 1 year ago

There is one Avatar that I am using that has a Contact Sender and Contact Receiver targeting the same Bone (particularly the Head). They use a custom Tag and they are both sized the exact same, basically touching each other.

If they are both touching each other at the same time, the Contact will continuously trigger endlessly despite it being set to "Allow Others" only. Keep in mind that "Allow Self" is completely disabled on the Receiver.

Of course, this behavior is not possible in VRChat. However, it seems to happen in the Emulator only. Is this a bug or an intentional function of Gesture Manager?

BlackStartx commented 1 year ago

Hi Blu~ ^-^ 🌺

This issue has been reported a year ago, once on issue #3 and then also on issue #5.

From what I remember, I had developed a solution to handle the two flags in the emulator, that solution should be almost fully indipendent from the SDK itself, but maybe in one year something changed and broke the behaviour (?)

I'm currently away from my workstation so I'm unable to test stuff, but once I'm back I'll give you more feedback~ ^-^

Sorry and thanks for the report~ ♥

P.S: This is probably not the case but I'll say it here anyway.

I remember that the behaviour was working only for contacts that where placed before the initialization of the Avatar, meaning that if (somehow) you add a contact after the simulation has been initialized, than the two tags were ignored~
BluWizard10 commented 1 year ago

I remember that the behavior was working only for contacts that where placed before the initialization of the Avatar, meaning that if (somehow) you add a contact after the simulation has been initialized, than the two tags were ignored~

Now that you mention this, VRCFury does it's own set of initializing the Avatar. So it's possible Gesture Manager caught that behavior and did something to cause the Contact Receivers to behave that way.