Skip to content

UdonBetterPlayerAudio v.0.3

Compare
Choose a tag to compare
@Guribo Guribo released this 16 Jan 00:06

Demo: https://twitter.com/GuriboVR/status/1350226603964510210
VRChat demo world: https://vrchat.com/home/launch?worldId=wrld_54499500-9003-42c6-8ae8-72110adbcdef

Fixes

  • #4: fixed players leaving or joining muting everyone (reported by owlboy)
  • fixed audio controller breaking when used without the menu

Features

  • added player occlusion with separate slider
    image

  • added player exclusion system

    • added pickup microphone as example usecase
             var currentMicUser = VRCPlayerApi.GetPlayerById(oldUser);
             if (currentMicUser != null)
             {
                 playerAudio.UnIgnorePlayer(currentMicUser);
             }
      
             var newMicUser = VRCPlayerApi.GetPlayerById(newUser);
             if (newMicUser == null)
             {
                 return;
             }
             playerAudio.IgnorePlayer(newMicUser);
      
  • added option to control the rate at which players get updated
    image

  • added 4 example scenes
    image