VRChat - Toggle In A Minute And A Half (Avatars 3.0)
HTML-код
- Опубликовано: 11 сен 2024
- In this video, I cover the basics for making a toggle on 3.0 avatars in Unity using a Boolean parameter! If you have any questions about what was covered in the video, comment below and I'll respond as soon as possible!
If you like the video let me know in the comments below, and if you didn't let me know what you would like to see me improve on! Also, if you have any video suggestions let me know in the comments and I will look into making what people want to see!
If you want to stay up to date with what I'm doing you can follow me on Twitter or check out my Booth and Gumroad pages below!
Twitter: / wolfy527
Gumroad: wolfy527.gumro...
Booth: wolfy527.booth...
Music from freetousemusic...
‘Cheese’ by ‘Lukrembo’
• lukrembo - cheese (roy...
The short form stuff is great. I love the more indepth stuff aswell but my brain does kinda lock up when I see a 40min video on setting something up in unity.
Yeah! I have been trying to find a nice balance between the two! I'm thinking of doing shorter, but as informative videos as I can from now on, and then potentially doing Q/A livestreams in the future for people to ask more in-depth questions that I can sit down and explain concepts and ideas to everyone.
@@Wolfy527 That sounds really cool I'll definitely be excited to see the new stuff!
@@anonmous2960 Thank ya, and thanks again for the feedback on the videos, it helps me know what people like to see and what is helpful for explanation and tutorial videos!
i use this video every time i need a refresh on how to make a toggle thx
You done the impossible in under two minutes. Subscribed! Have a great day!!
Haha I appreciate it! Glad to be able to help people out!
I have seen people using avatar dynamics to roll up their sleeves or pull up their shirts. I think having a hoodie where you could pull the hood up and down would be neat, could you make a video on how that system works?
That's a cool idea I could cover. I haven't actually set something like that up before or necessarily looked into it so I would have to see how that was made. I have a couple ideas, but I will look into it and see what I can do! Thank ya for the suggestion, I appreciate it!
omg this is amazing! :D thank you so much!
oh i love this, I subbed, appreciate the content!
Thank ya! Have some more videos in the works that should be coming out soon!
@@Wolfy527 Woot Woot!
quick, easy and it works, perfect tutorial
Best tutorial out there 😎
Big man crunch 😮 haha thank ya!
the record button on the animation tab is grayed out, i cant click it, what do you mean record if its grayed out....
I love that this is short and simple! I tried following but when I get to recording the animation, the toggle is not showing up in the drop down menu, any idea where I can find it? When I click the animation created in the project then go back to the animation tab to record, it doesn't let me because it's grayed out :/
You'll want to make sure that it's placed in a layer in your FX controller. I.e. You will want to play the on and off animation in the layer you're planning on using for your toggling on and off, and then go to the animation tab to record your animations there. You'll also want to make sure you click on the base of your avatar before opening the animation tab so that it know to record the animations on your avatar, instead of showing a completely greyed-out box.
youre amazin!
Haha thank ya! Happy to be able to make videos that can potentially help others out!
Nice video! :)
Keep it up
Thank you!
great tutorial, thank u!
So you put exit time to 0 and then uncheck it so it's off? Wouldn't just checking it off already make it 0 since it's... yk off?
for some reason gogo loco is breaking my parameters
edit: for some reason it toggles off by default in unity as it's supposed to, but in game it's as if the object wasn't toggled off at all and doesn't seem affected by the parameter
you went threw this so fast that i eneded up not doing it right and im trying to understand how to do it but i just dont know.
I managed to make the toggle work in unity but when I uploaded to vrc the toggle would be able to be selected but would not do anything when turned on. I did make a new fx controller but I don’t know if thats the problem because my avatar currently has a couple already and I didn’t know which to use
What you'll want to do is look at your "VRC Avatar Descriptor" and look for the "Playable Layers" drop down menu and you will see an "FX" controller. Click that in your descriptor and it will pull it up in your project folders below. Then drag and drop it from there to your "Animator Component" on your avatar's base into the "Controller" portion and then record your animations in there. You'll be able to set up new layers on your current FX controller and test things in unity this way as well. This should help ya keep things a bit more organized and in one spot instead of creating a new FX controller when making new animations. If ya have any other questions just let me know!
Thanks for this short and sweet tutorial! I keep having troubles with my toggles whereas I can't turn them on or off. When checking the parameter toggle, nothing happens on the scene and no loading bars indicate a playing animation; I'm not sure what I've done wrong D:
Everytime I try to make an animation in my normal control, it makes a new control automatically
If you're testing them in Unity, you'll want to make sure that the controller you're using in your avatar descriptor (which goes in game) is in the Animator component shown at the start of the video. If that is in there, then when you are testing animations, you'll also want to make sure you have your avatar or something on it in the hierarchy selected. Sometimes Unity can bug out and not know what FX Controller you are trying to use when you don't have the avatar or at least something under that avatar's (that particular animator's) hierarchy selected. One last thing when testing! Don't turn on play mode and then put your FX Controller into the animator component as your animations for testing won't work since the FX Controller needs to be placed in the animator component prior to starting play mode.
I actually got stuck right here too & unfortunately none of the fixes they suggested seemed to fix the problem I had. I'm gonna keep trying to figure it out, tho! :)
UPDATE: I know they do it in the video but double check to make sure the name you decided to give your toggle in your Menu matches the name of the bool you created. Idk if you and I both got the same bug or if we both misunderstood something in the instructions but this fixed it for me!
@@Mou5eBoy Thank ya for the comment about this! You do want to make sure that the bool you use for the toggle matches the one that goes into your parameters list in game! Hopefully this helps Cryppi as well!
Wait how do we get the animator tab?
How did you get the parameters to be 256 and not the normal 128?
The newest SDK allows everyone to have up to 256 bits of memory on their avatars! I definitely suggest upgrading if you haven't yet!
My record button is grayed out.. I cant seem to fix it..
You will want to make sure that you have your FX controller in your avatar's "Animator Component" and make sure you have your avatar selected in the hierarchy when you're attempting to record animations for it.
@@Wolfy527 I figured it out, but I don't understand how I did it but the creator of my avatar used two FX controllers and the default one you see when you click the avatar wasn't the one I needed to work with. I had one called "FX" and one called "FX Dummy" and it didn't work until I changed to the FX Dummy controller. Also, the dummy one was the one that contained all the expressions while the other had all the different menus in it.
@@YuJay Ah, that is odd. Glad you got things figured out though!
Omg thank you so much 🙌🙌😁😁
I got a small issue here, the red button disablex when I clicking the object I want to toggle, what should i do ?
How do I create a toggle to change an avatar’s t-shirt design to a different one?
how do i make the thing i toggle stay in one place and not move with me
I have two videos that go through parent constraints and setting them up with contacts and having the ability to put an object in world space!
It did not work for me. Whenever i start recording and go to press the item i will toggle on or off, the recording immediately stops when i press the item and a new animation tab opens instead.
You will want to make sure that the item you are attempting to toggle on and off does not also have an animator component on it as that will cause you to go to a different animation tab if it does.
THANK YOU! :D
Happy to help out =D
How do I enable multiple toggles at once?
Did something change in the sdk recently that causes this to not work? I followed this video word for word, but the toggle does not want to work. The animation preview window shows it correctly, but GestureManager shows it doesn't work.
Toggles should still function this way just fine. I haven't used gesture manager before, but if you have your FX controller in your avatar's animator component and go into play mode ot test the toggle, it should work fine.
@@Wolfy527 That was my issue: i was putting them in action instead of FX
@@willowkepler Awesome! Glad that fixed it for ya!
Is it possible to just plug in premade animations I have into a toggle paramater i have setup?
Yeah, depending on what you're doing, if it's an on / off kind of animation, then you could just plug in your animations to a toggle like this and it should work.
I'm having a strange issue where it isn't allowing me to record the toggle in the animator dope sheet..
Like what you're doing here @0:46
You'll want to make sure you have your avatar selected in the hierarchy when you go to record. Also, if there are multiple animators on your avatar, this can cause issues when recording animations as it will try to record that animation on a different animator than your avatar's if you end up selecting an object with an animator on it.
@@Wolfy527 Thank you for the reply. I actually figured it out, and i'm pretty sure it was exactly that lol
@@M1K3Y.00 Glad ya got it figured out! Unity can be a bit finnacky at first, but once you learn all the little do's and don'ts it makes a bit more sense.
doesnt work for me now
What aspect seems to not be working? The fundamental way to make a toggle hasn't changed, so there might just be a small thing that is off like the FX Controller not being in the animator component or maybe a transition setting that is off.
So what if you want the toggle to stay in hand and not flicker?
I'm not exactly sure what you mean. If your toggle is flickering on and off, you'll want to make sure that it isn't set to "button" in your radial menu settings. If it's just rapidly triggering on and off then you'll want to make sure your transition parameters are set up properly in your animator.
For me i couldn't add more than one, it just broke, i've only tried once but if it breaks again please inform me if there's something you left out that i need for more than one toggle.
Are you trying to create more than one toggle in the same layer, or in separate layers?
forgot to check in here, doing it the second time worked, yes i was doing it in seperate layers btw
@@mr.honkers7986 Glad you got it working! Unity can be a bit finnacky sometimes haha!
it will not let me add any layers do you know how to fix it?
You will want to make sure that you have your FX controller in the animator component on your avatar's base so you can edit and place animations in it easily and set things up.
I can toggle the thing but it wont enable my item and make it visible
You'll want to make sure that your animation was recorded properly and that you have the correct animations in your layer for the toggle.
@@Wolfy527 i stg ill just switch to 2018 unity 😭
@@spriteman1925 Haha I think that 2018 has been fully depreciated so that probably isn't the play.
@@Wolfy527 no it is the best options trust me im tired of these little things that wont work 😢
@@spriteman1925 Does your toggle just not work in-game, or in Unity?
you should post this video on TikTok 👍
I probably should! I'll look at making one here really soon!
did not work
If you want to elaborate on "did not work" I might be able to help you wherever things went wrong.
What if it’s not a unity file
Sorry, I don't really understand your question. The video is meant for people working on VRChat avatars in unity.
@@Wolfy527 ik what if the file for the avatar isn’t a unity file how would I import it
@@Cl0U6Z If you have an FBX file for your avatar then you can just drag and drop that into your unity project, but you'll end up having to set up everything from scratch yourself if you do that and don't have a unity file to import.
@@Wolfy527 k
this doesn't animate shit it doesn't work and before you say I did something wrong I followed exactly what you said 50 different times
Hmm, well many people have said that the video works fine for them and this is how I have made toggles for years now, so I'm not sure what to tell you. If you're able to explain what specifically isn't working I'm sure it'd be fixable.
@@Wolfy527 ohkay thanks
WTF Keep Calm
and make a decent tutorial while you can
you forgot so many steps
how do you have toggles turned on by default?
In your parameter's expression list there is a "Default" setting which is a column of check boxes. So if you have a toggle in your radial menu that you set up for a hat that you want on by default, you'd go to your parameter expressions list and make sure that the parameter's default state is check marked so that it will default on.