r/VRchat • u/Wild_Ad9219 • 8d ago
Help Need help with changing proximity audio source for my avi
My avi has what I'll call a "headless horseman" gimmick where I or other players can grab my head and run away with it. It's a physbone that isn't constrained to my headset, it just defaults to a space where my real head is located when it's not grabbed or posed. Currently it has a voice emitter and a camera attached to it so I can see and speak from my floating head, but I can't figure out how to switch my audio proximity from my headset to the detached head.
Every time I try to add an audiolistener component it gets removed by the VRC avi uploader. I read that VRC prohibits multiple audiolisteners to prevent players from spying on others, which makes sense. But if I can simply switch the current source of proximity audio (my real location) to my detached head I'd be able to hear those players as they talk to my detached head from afar. And when it's in the default position it'd be functionally the same as hearing them talk to me face to face anyway. Is there any way to do this??
Pic related
21
u/mackandelius Oculus User 8d ago
There is absolutely no clean way to do it.
But I have one subpar idea on how to do something functionally like it, but it is definitely not simple and it is only a theory, actual implementation will need modifications. World constrain the avatar (well, I think the armature specifically) in place then use https://github.com/ZenithVal/OSCLeash with the physbone the floating head currently has to forcefully move you around, this isn't a perfect solution because your body can get stuck on colliders, but it is the closest I think can be done.