VRChat - Creating Overlapping Dissolve Toggles

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello making dissolve toggles for your avatar is one good way of making toggles instead of the thing disappearing out of existence instead you have a very slow effect of it going away I find myself doing it a lot but there is one problem you might run into and that's maybe why you clicked on this video let's say you're like me and you have multiple shirts or items in the same place this could be a problem when trying to toggle one or the other as Boolean toggles don't work that way if you've done it before you're needing to turn one off and then turn the other one on so they don't fuse together I'll be showing you how to do this with an INT so let's get started right click on your project window create and then create a animation controller right click on your project window again create the air chant avatars and you'll have to make a menu any parameter I'll be making a parameter first do the process over again for the menu right click on your project window create VR chin avatars and then you have to make it menu now to use these on your avatar click on your avatar and the hierarchy drag your controller that you just made into your animator controller and then into your playable FX layer as well drag your menu in your parameter into your expressions now go into your animator if you don't see it click on window and then throw it into one of your tabs hit the plus create a layer name it where you want put the weight to one and you only need one of these since it's an inch go to your parameters tab hit the plus create an INT and name it as well with the VR chat parameter click on it add a parameter change the type to int and name it the same thing as you did with the other parameter before we go into your animations check your materials click on your avatar go to the object you want to dissolve go to its material unlock it if it's locked turn rendering to cut out go to special effects and turn dissolve on for what's in the dissolve menu I'm guessing you already have it set up to your liking but for those that don't know how any of this works I have a follow-up video coming up in a little bit anyways the only settings I'll be messing with is dissolve type dissolve color and dissolve Alpha for the sake of this video I'll be changing dissolve type to point to point and clicking on dissolve color move the alpha channel to zero for the invisible effect make sure you have the settings you want for all the other objects you're dissolving as well go into your animation tab if you don't see it as well go to window it'll be in Windows or animations either more create a new animation I'll be naming it shirt one since I'm going to be doing my shirts hit the record button turn the shirt off and then on and then move the dissolve Alpha to one go to one minute and then bring the alpha back to zero note you can mess with detail strength as well if the dissolve isn't dissolving the whole effect check if it works done record the next object on your list and repeat the same steps click on the name on your animation and create a new clip for Simplicity I named it sure too hit record turn the other shirt off and then on move the dissolved Alpha to one and then go to one minute and turn the alpha back to zero now create another animation this will be the dissolving off effect for all of the items I only have two so that's all I'll be doing hit record set the alpha to zero at 0 0 for both of the meshes then go to one minute and set the alphas to one a question you might ask now is won't they just dissolve together no first turn the message off since we'll need them off by default in game only one can be turned on if you're wanting one of them the be on by default keep watching go back to your project window and find the animations you made pull out the animator again and drag your animations into the layer that you made move the any state to the right move the X's state right next to entries since we won't be using it drag your dissolve off in between the any state this will need to be the default State as well right click on the dissolve off and make it the layer default State now for the rest of the toggles that you have move them to the right I almost forgot to mention but turn off Loop time in your animations you made create the transitions now right click on the any state and make the transitions connect the any state to all the animations before we do the transition settings and conditions I want to point out that you can use the any state to select all the transitions instead of clicking on all the arrows for the dissolve off transition settings turn exit time on fixed duration on and transition duration to 1. note this is to play the whole animation shown in the preview you could drag the blue arrows to line it up better if you need to for the settings of the actual toggles turn fixed duration off transition duration to zero and turn can transition to self off you can copy these transitions by right-clicking on the transition Tab and pasting it onto the other toggles set up your conditions as usual with dissolve off click the plus and conditions set the parameter if it's not already there turn greater to equal and keep it as zero for the others do the same first toggle equals as one and the second toggle equals is two again you could just copy the settings and conditions from the other transitions now that the transitions are done go into your project window and click on your VR chat menu you made click add controllers name it set the type to toggle then go to your parameter and look for the inch that you made to get a reference on what you're trying to do these connect to the values you did in your conditions my first shirt value is one and my second shirt is two turn off the objects if you haven't yet and then test the toggles of the emulator like Luma or in vrchat and see if it works you might run into this mile away where your shirt is turning on check your base layer make a new state and set it to the default layer it was being activated by another layer if you're wanting one of your meshes to be the default by the way go to your VR chat parameter menu and set the default to a number that's not zero now just for some notes I want to clarify that there's definitely other ways of making dissolved toggles not colliding with each other as shown in this tutorial this is how I do it this isn't a full solution to solving the problem since when you're toggling from one mesh to the other it just completely disregards the undissolving effect this is because we're using the in perimeter and it snaps to whatever toggle is being used by the player so you're still needing to turn that one off and then that one on to get the whole effect if anybody is better than me with transitions on how to make this kind of toggle just leave it in the comments a little thing I wanted to point out as well is if you screw it up with your transitions uh just hit your delete game and it will just delete the transition and now there is no delete button but you know it's just tag unities anyway thank you for watching if you have any other ways of making dissolved toggles leave it in the comments if you want the video I mentioned by the way early on was about the dissolve tab originally it was going to be a part of this video but I feel like it needs its own videos since it's going over the whole tab so you'll probably see it the next time I upload but anyways bye bye I'll see you later
Info
Channel: Tooth
Views: 1,954
Rating: undefined out of 5
Keywords:
Id: pEMW3VLd9V4
Channel Id: undefined
Length: 6min 53sec (413 seconds)
Published: Fri Jun 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.