
You can use the emote system to toggle objects - an inventory system.
This tutorial is for Avatars v2.0 (VRCSDK2), its kept here in case you have an older avatar that hasn't been updated.
Steps:
- Go to the Xiexe GitHub repo and download the latest release ZIP and extract
- Drop the entire folder into the Asset explorer and Unity will install the plugin
- Click Xiexe in the toolbar -> Tools -> Inventory Mapper
- In the popup select your Shiba avatar and select the number of objects you want to toggle, select your object and if it is default enabled
- Click Generate Inventory and it will generate you animations in the Asset explorer
- Go to
Assets/Corpse Shiba/PublicShiba/Shiba_inu.overrideController
and replaceEMOTE1
or whatever emote you want with the generatedENABLE
orDISABLE
animations - Build and publish and try out your new emote!
If you ever want to add more objects just repeat the process and it will generate new animations.
Note: Your object will only appear (and disappear) if other players are looking in your direction (including in the mirror).
Click to expand description