How to Create a Toggle for Objects in Unity for VRChat SDK3.0 Avatars

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 191

  • @fooya9117
    @fooya9117 3 роки тому +90

    For those having trouble with the object not toggling off, it seems you have to make another animation for the object being off. I'm not sure if the video is outdated or they just forgot. Besides that, I do appreciate this video a lot since I could do this without knowing anything about Unity :)
    Steps:
    1) Make ANOTHER animation for your character the same way as in the video. You can name it "whatevertheobjectnameis off". Go to the object and add the "Is Active" thing just like before. Then make sure it is UNCHECKED instead of CHECKED as it was in the video.
    2) Drag the "off" animation into the "Off" FX node's Motion slot.
    3) Drag the "on" animation into the "On" FX node's Motion slot.
    After doing this, the toggling off and on worked for me.

    • @RowiDankelsaft
      @RowiDankelsaft 3 роки тому +2

      The version of Unity would refuse to let me make a new animation and would insist in using the first one. However, that has a solution too:
      - Create the one animation with "Is Active" on, like the video says. I named it "glasseson" (I was adding glasses to my character)
      - Open the folder in Windows file explorer and move the .anim and .anim.meta files (in my case, glasseson.anim and glasseson.anim.meta)
      - Now you can create the one animation with "Is Active" off. I named mine "glassesoff".
      - Once you're done, just move back the glasseson.anim and glasseson.anim.meta back, and you can go on normally.

    • @kadeko_vrc
      @kadeko_vrc 3 роки тому +4

      In this video, they don't have an animation set inside the default animation node (which is the orange one) that means if you turn off the button, it will stop playing the "active animation" and revert it back to original, just like how you have your avatar setup in your unity scene. It is possible to make a toggle object with just one animation and I always use the Any state node instead of making transitions between multiple nodes. (You will see it at 9:00 mark where they explain about one parameter, multiple objects) It does work with newest unity version!
      1) Turn off the object in your avatar and create an animation that makes the object active.
      2) Make a new animator layer and add two nodes inside. The default node should have no animation inside and the other node will have the animation you created.
      3) Make transitions from Any State to the two nodes. Set the parameters correctly by setting Default node to 0 and the node the animation has in to 1
      The Entry node should be pointing at the default node.
      4) Then you just create one toggle button in the menu and only use the toggle that sets the parameter value to 1. Turning that button off will return the value back to 0 so there is no point adding an Object off button there.

    • @6A5T08WDIa
      @6A5T08WDIa 3 роки тому +1

      They did it in a correct fashion, you just didn't follow.

    • @cyberstar251
      @cyberstar251 2 роки тому

      i tried that but it just stops working all together.

    • @coahmain
      @coahmain Рік тому

      you're a life saver!

  • @-iaa-4033
    @-iaa-4033 3 роки тому +17

    I needed a slower tutorial that was easy to understand and you did a great job. Tysm!

  • @rotocooki
    @rotocooki 3 роки тому +6

    this is like.. the cutest tutorial ive ever seen in my entire life.

  • @quideater
    @quideater 3 роки тому +15

    jeez man, probably the best and straight forward tutorial i've watched on this, thank you!

  • @Lowkeyidek_
    @Lowkeyidek_ 2 роки тому +2

    I just wanted to say that im very thankful for this video bc i wouldnt have figured this out on my own

  • @nessunday
    @nessunday 3 роки тому +6

    okay i admit it....this guy taught me to make toggles best video ive seen and i watched a lot of them

  • @luminos_white
    @luminos_white 2 роки тому +1

    even until now i keep coming back to this video because it's really helpfull, thank you so much

  • @KitanKate
    @KitanKate 2 роки тому

    youre the only person that made sense and now i have a katana yay

  • @evandermars6179
    @evandermars6179 3 роки тому +8

    This is great!
    My only problem, is although you do walk me through every little step, you don't exactly explain why we do every step. Some are straight forward, "Here we're making an animation" or "This is where we put the animation in our toggle."
    But other stuff is never really explained, "Why are we making a parameter and setting it to one?" "Why are we setting Off's transition to one, and On's transition to zero?"
    It kind of leaves people guessing when they're doing something very similar to making a new toggle (like editing a not so efficent toggle someone else made for their avatar, COUGH Tokushi get your shit together, COUGH)
    But for what it is, it help a lot! Seriously, came into this is no knowledge and look me now! I'm even complaining about it!
    I just wish you explained a few things in a bit more detail, that's all.

  • @TajaSukarya
    @TajaSukarya 3 роки тому +3

    Wow I was so intimidated to do this on my own avatar but your tutorial was so simple and clear it gave me courage to try! Thank you so much!

  • @mefokira
    @mefokira 3 роки тому

    I. Love. U!!!!
    I already try a lot of tutorials and no one works, but yours works perfectly!
    Thanks!!

  • @UnlawfulDuc
    @UnlawfulDuc 2 роки тому +1

    I genuinely love your videos on unity. I never usually make comments but your videos on unity tutorials are so straightforward, to the point, good mic quality, and you don't go to fast. I just want to say you helped me so much and thank you.

  • @Nightmare10311
    @Nightmare10311 3 роки тому +1

    im a little confused... i have FX but when i click it it just edits the thing saying "None (Runtime..." and i have no idea how to get around this...

  • @WigWoo1
    @WigWoo1 2 роки тому

    So I've already attached all the meshes in Blender before hand but I don't know where to see each of the meshes in Unity

  • @unusuallylonglimbs
    @unusuallylonglimbs 3 роки тому +4

    This video made me feel smart for once

  • @-reunion-4224
    @-reunion-4224 3 роки тому +8

    this is the best video so far holy shit. all the other's are fucking so confusing thanks bro

  • @CMDR_John_Crichton
    @CMDR_John_Crichton 3 роки тому +32

    Am I the only one who finds this so asininely complicated for how simple it should be? Toggle something on and off? No problem, you just have to solve 150,000 calculus equations and prove Einstein wrong first.

    • @Overdrive_Online
      @Overdrive_Online 3 роки тому +1

      Basic monday

    • @AzureLupine
      @AzureLupine 2 роки тому

      Yea, that's about what I've found. You set every single possible attribute ever ahead of time, then need to build the event. I'd prefer just give me the code and I'll determine what's going on.

  • @jacky2839
    @jacky2839 2 роки тому

    This guy needs more views this is hands down the best and most straight to the point video I’ve seen

  • @Max_Rocket
    @Max_Rocket 3 роки тому +2

    at 4:39 i don’t have the fx thing in my screen, anyone know why?

  • @Julian-ch5hl
    @Julian-ch5hl 2 роки тому

    After a few tries, it worked!

  • @Greed420
    @Greed420 3 роки тому

    this man deserves a play button=

  • @RougeTheGato
    @RougeTheGato 3 роки тому +1

    super helpful! i made a Mariachi penguin with a toggleable quitar

  • @duckhandsx
    @duckhandsx 3 роки тому +1

    For some reason no matter what I do with the toggles, in game the items are always on my avatar? I don't know how to fix this, I followed the tutorial to a T

  • @gaomondigiadicto
    @gaomondigiadicto 2 роки тому

    THIS

  • @cameronwalton7722
    @cameronwalton7722 3 роки тому

    Thank you SO much for this, This is a better way of doing this then I used before and I'm very thankful

  • @goopygoblin117
    @goopygoblin117 2 роки тому +1

    goated tutorial thank you o.0

  • @kyrefox
    @kyrefox 3 роки тому +1

    Thanks very much for the tutorial, this helps so much for a newbie like me. Really appreciate it

  • @ProwerPlaysSega
    @ProwerPlaysSega 3 роки тому +3

    i dont have a FX Controller, ive tried but i can only figure out how to add a custom exspression one, where would i create one for fx?

  • @SirJosh_YT
    @SirJosh_YT 3 роки тому +2

    Everything went well except for one thing, I used a microphone as my toggle and everything worked fine until I noticed the microphone couldn't be toggled off, how do I fix this?

  • @caffeinatedteddy2110
    @caffeinatedteddy2110 3 роки тому

    i've watched the same tutorial every time i make an avatar cuz i can't keep this knowledge, Thx for helping this stupid teddy

  • @Yrekcaz7
    @Yrekcaz7 3 роки тому +1

    thanks, my friend asked me if I could make him a vrchat avatar with a toggleable sword. This will definitely help!

  • @Dark-oq4lg
    @Dark-oq4lg Рік тому

    I've gotten to 6:55 but u can't find the animation file, is there a reason why?

  • @fluffterz-dlmtoffical944
    @fluffterz-dlmtoffical944 3 роки тому +2

    so im having a problem a little with the FX, For some reason it comes up as "None" And i don''t know what to select. what do i have to do there?

    • @burnaking9968
      @burnaking9968  3 роки тому

      make sure the model your trying to import is a .fbx or another supported file type. I dont believe FX will work

  • @shimlaDnB
    @shimlaDnB 3 роки тому

    double click on FX ? there is nothing to click on as my FX box is empty, do i create a new FX instance and use that?

  • @deadwolfgames652
    @deadwolfgames652 3 роки тому

    This helped so much oml… thank you so much

  • @Sumao_
    @Sumao_ 2 роки тому

    7:10 i dont have a parameter option?

  • @JosephStardust
    @JosephStardust Рік тому

    I've seen some models have a custom image within the toggle section. Example, if it's a guitar prop, it'll actually show a silhouette of a guitar. Same thing for microphone, drums, and other instruments. Have not found a tutorial on how to do this yet...

    • @burnaking9968
      @burnaking9968  Рік тому

      that is something I can certainly make a tutorial video for. Thank you for the suggestion

  • @darkpigeye
    @darkpigeye 3 роки тому +2

    Great tutorial worked Thanks!

  • @StrangestAlbert
    @StrangestAlbert 3 роки тому +2

    i followed this guide and when i had the toggles ingame i cant turn them off

  • @friskibitzlol
    @friskibitzlol 2 роки тому +1

    This really worked! Best tutorial and will always be using this :D The only small issue is when I added another toggle of the same item duplicated and placed somewhere else on my avatar, but it ended up being the same as the first one for some reason? Is there anything I could be missing?

  • @574_Ziv
    @574_Ziv 3 роки тому

    hey could you put a link of where you got the guitar object i've been looking for one like that and i cant find one

  • @Chlorine_Sniffer
    @Chlorine_Sniffer 3 роки тому

    where do u get models from? like the guitar you used?

  • @Willi9091
    @Willi9091 3 роки тому

    Best tutorial for that stuff out there! The others are way too complicated, long or just don't explain a lot of stuff.
    Thanks bud! +1 like!

  • @dariendark7263
    @dariendark7263 3 роки тому +2

    this is a great tutorial, however, I appear to have hit a brick wall cause my avatar uses the "none" option (standard actions) for both the menus and parameters, hence I can't just double-tap it open and edit it. tried to add another one, but it ended up creating the toggle, but with no effect, the jug of brain bleach I created just remains in my hand. I'll try to figure it out, but just figured I'd advise you of that potential situation

  • @icecream1163
    @icecream1163 3 роки тому

    Love your videos and would like to see more.

  • @FoxieFoxeh
    @FoxieFoxeh 2 роки тому

    thank you! \(TnT)/ was able to add objects in less than 10 minutes. you're the g.o.a.t.

  • @the1natalie12
    @the1natalie12 3 роки тому

    great and easy tutorial, keep up the great work!

  • @Teiresius1
    @Teiresius1 3 роки тому +2

    How does this work without a second animation to toggle the guitar back off?

    • @burnaking9968
      @burnaking9968  3 роки тому

      thats what no animation does. it will stop looping the animation that was playing and go back to not playing anything. Best way I can explain this in the comments is in the animator it will always check parameters to see if there true or false or if its value has changed. As long as it is true it will keep playing the animation that you have to toggle on something and once it is false it will go back to playing no animation so the object you created to toggle on in the animation will stop playing

  • @Hacker-cw9lc
    @Hacker-cw9lc 3 роки тому +1

    Given im making an avatar that looks just like this, this was helpful

  • @joebuehrer
    @joebuehrer 3 роки тому

    I love your character. He looks so snuggly

  • @TheRavepartycat
    @TheRavepartycat 2 роки тому

    omg you saved me from ripping my hair out , thank you so much

  • @SherryWonch
    @SherryWonch Рік тому

    this video helped me so much as a beginner! i attached a hula hoop to my avatar and it looks great! any way you can point me to a good tutorial on how to have color toggle of an attached object?

  • @keitaro849
    @keitaro849 2 роки тому

    I couldn't get this to work... Every time I go to animator to try to add properties the button is always greyed out for me... And I need to make clothing toggles

  • @dasyoko5368
    @dasyoko5368 3 роки тому +2

    Could you mayhaps make a tutorial about how to make an fx layer from scratch? ive started to get into the problem of my faces getting stuck and overlaping and every tutorial and help didnt bring me closer to a solution to what im doing wrong.

    • @burnaking9968
      @burnaking9968  3 роки тому +1

      ya, I can try to when I get the time

  • @superninja3338
    @superninja3338 2 роки тому

    I have the issue where the toggle is just set to active when I join into the game.

  • @TestedDsf
    @TestedDsf 3 роки тому +1

    hey just wondered if i could get some help? i've done all the steps correctly but when i go in game the toggle doesnt work, but it is changing the int from a 0 to a 1 but i dont know what to do

    • @inversefruity3134
      @inversefruity3134 3 роки тому +1

      I got the same problem, I will try to get this fixed as soon as possible and notify you how to fix it if you haven't already

  • @Chegg_Chegg
    @Chegg_Chegg 3 роки тому +3

    Thanks so much for making it clear, many people apparently can't do that :/

  • @the_hock1636
    @the_hock1636 3 роки тому +1

    hey, I dont have any parameters to add a parameter to. how do i do that?

    • @the_hock1636
      @the_hock1636 3 роки тому

      nvmd found a comment explaining it thank you

  • @LarricLazuli
    @LarricLazuli 2 роки тому

    this helped me a lot ^^ thank you so much,

  • @DrPickleCheese
    @DrPickleCheese 3 роки тому +1

    I will definitely try this out! Other tutorials seem to miss important steps, but this seems to show everything! Video quality could be better since I couldn’t read most of the stuff, but otherwise very good tutorial!

  • @AceVonScott
    @AceVonScott 3 роки тому +2

    This worked well for me but for some reason when I go to click the animation again to turn it off, it doesn't go away. I followed your directions to a T and don't understand what I missed

  • @Rudani
    @Rudani 3 роки тому +2

    i did all your steps but now im spawning with my object and i would prefer to only make it appear when I activate it on the menu...

    • @aero1x7
      @aero1x7 2 роки тому

      Did you ever figure this out?

    • @Rudani
      @Rudani 2 роки тому

      @@aero1x7 sry man, i remember back then just giving up lol
      shit i can't believe it's been an year already 😭

  • @FirefoxBlueVR
    @FirefoxBlueVR 3 роки тому

    Can you use bools to do your toggle switching rather than integers to save space in your parameters?

    • @burnaking9968
      @burnaking9968  3 роки тому +1

      yes, bools are honestly recommended over integers. I just didn't know much about bools at the time so that's why I used integers in the video

  • @its-beeuwu
    @its-beeuwu 3 роки тому

    How do I make it so when I toggle on 1 prop it toggles off another

  • @FumikoEcho
    @FumikoEcho 3 роки тому

    Thanks it has help me a lot, Thank you very much 😇

  • @DimeDCSGO
    @DimeDCSGO 3 роки тому

    For some reason when I hit add property there is no tab for armature.....

  • @捕梦-b7w
    @捕梦-b7w 3 роки тому

    Do you know how to make an object move between left hand and right hand,But not close it in one hand and open it in the other

  • @eden4949
    @eden4949 2 роки тому

    works flawlessly - i just don't understand: Why is it actually "on" when the condition is set to NotEqual "1"? Isn't the default state of the int "0" ?
    EDIT: I think actually in the transition tab of "OFF" it asks you what needs to happen in order for it to transition into "ON" then the logic would actually make sense.

  • @leon6er
    @leon6er 3 роки тому

    Thank you so much! i was having such a rough time trying to figure out why my toggles wernt working. turns out i forgot the fx layer and had lumped it in with my prefab

  • @Enverex
    @Enverex 2 роки тому

    Why an INT and not a BOOL for a boolean toggle?

  • @lowqualitystudios2185
    @lowqualitystudios2185 3 роки тому +2

    When I go to double click "FX", theres nothing in the slot, and nothing happens.

    • @phoenixmajor2596
      @phoenixmajor2596 3 роки тому

      you have to create a new animation controller then put it where the guy put his thing named "FX"

  • @DrPickleCheese
    @DrPickleCheese 3 роки тому

    Also what if for a toggle, I wanted to add a gesture to that to make it play a sounds or have a partial effect to it?

    • @burnaking9968
      @burnaking9968  3 роки тому

      You can have multiple animations go at the same time as long as they don't mess with each other, so if you make a gesture animation and a toggle animation play at the same time in the animator you just have to have both conditions be the same value so they both turn on at the same time

  • @cranexdragon1046
    @cranexdragon1046 2 роки тому

    So next question. The parameter window is not there for me to connect the expression to a linkable channel @7:12.
    How do i access the window for the expression parameters?

  • @cranexdragon1046
    @cranexdragon1046 2 роки тому

    Hey anyway that you could help. I do not have the dialog box for FX step @4:51. How do i access this?
    -okay found that. Just had to click expression file in the catalogs to find the map tree for the model expressions

  • @pokemaster8887
    @pokemaster8887 2 роки тому

    Can I do this process on the oculus device

  • @jonm9633
    @jonm9633 3 роки тому +2

    did i miss a step, my toggle wont turn off

  • @mcyeddi
    @mcyeddi 3 роки тому

    Great tutorial. Tyvm

  • @ancientnick
    @ancientnick 3 роки тому

    it worked pretty alright but it caused a issue where the object would stutter on and off until i toggled it on is there a way to fix that?

  • @kenyaschwarz6072
    @kenyaschwarz6072 2 роки тому

    i need a video about toogle things with the controller trigger xD

  • @kachowmel
    @kachowmel 3 роки тому

    So, when I tried looking for my object in the conditions dropdown menu, it didn't come up, I followed all the things you did so im confused ; - ;

  • @burhansecvr7665
    @burhansecvr7665 3 роки тому

    How would you go about having multiple types of clothes and when I toggle on one of them, the other detoggles.

    • @burnaking9968
      @burnaking9968  3 роки тому +1

      You could use one peramiter as an integer and then have different animations for every different kind if clothing. Have an idle (which is no clothing or animation) which goes from start to any, then create a new state for each animation and change the integer number for each one of them that go out from any

  • @SethWuffer
    @SethWuffer 3 роки тому

    So helpful! Thank you
    Seems you also know somebody I do in VRC

  • @mrbishp33
    @mrbishp33 Рік тому

    i dont have some of these menu

  • @urfren6510
    @urfren6510 3 роки тому

    Thank you this helped a lot!!

  • @ShukitaShipper05
    @ShukitaShipper05 2 роки тому

    For the longest time, Ive never had any issues attaching objects to my model until now! Dont know if you have experienced the same issues but I tried attaching sandles to my avatars ankles. I tried atraching it with and without bones however, everytime I attach it to the model and test out the leg and knee movement with the object attached, the red, blue and green crosshairs are somehow stuck on the avatars ankle when i try to movent the leg or the knee and changes how my avatars bones move for some reason. HELP!!!!

  • @darling14015
    @darling14015 3 роки тому

    does this also works with world objects? Like can I just spawn a random object into any world?

  • @waify2678
    @waify2678 3 роки тому +1

    Thanks nearly went insane adding a couple spring joints. For anyone having trouble and cant find solutions consider the possibility that the avatar is just fucked. The first 2 avis I tried were either cracked without my knowledge or horribly made, because following the steps exactly yielded nothing

  • @ayaya3182
    @ayaya3182 3 роки тому

    can u make a tutorial on how to re-add vrchat default emotes into the menu after custom ones?? thank you for the great video!

  • @KevinInfection
    @KevinInfection 3 роки тому

    do you know why my object sounds spam when I'm touching my index controllers during an object toggles that has a sound? its like my gestures keep restarting the sound. i wanna know how to fix this

    • @burnaking9968
      @burnaking9968  3 роки тому

      There should be an option to turn looping off for the audio when you select it and look in the inspector

    • @KevinInfection
      @KevinInfection 3 роки тому

      @@burnaking9968 I thought that was it too but looping is unchecked for all my audio files but they still spam when i toggle

  • @xPancake_Mix
    @xPancake_Mix 2 роки тому

    I followed the instructions directly. Does anybody know why my toggled object keeps flickering off and on

  • @GoldGalaxianFin
    @GoldGalaxianFin 3 роки тому

    when i toggle item on it appear but when i turn it off it doesnt go away.
    imma check if i made any mistakes.

    • @GoldGalaxianFin
      @GoldGalaxianFin 3 роки тому

      PROBLEM SOLVED.
      make separated animation where the object or (guitar) is not turned (on) but off.
      put that off animation on the OFF in the FX.

  • @BLKJ
    @BLKJ 3 роки тому +1

    Just putting it out there for those that might have the same problem as me... but I had a lot of trouble importing to 2019 unity and I have spent 15 hours of my life narrowing the error down and apparently, "off" needed an off motion that's assigned to the same parameter but with nothing on it.

  • @thunderbear06playsstuff63
    @thunderbear06playsstuff63 3 роки тому

    **emmVRC logo shows up** Vrchat moderators watching this video: I'm going to pretend I didn't see that. Jokes aside great tutorial, I got a little confused at the end but that wasn't your fault it was mine lol, only change I would recommend for your next video would be to try to increase the volume, I feel like with most videos I can have my volume set to 30 and be able to hear it perfectly fine but I had to increase it to 50, sorry if it sounds like I'm complaining I'm not I'm just trying to leave some constructive criticism!

    • @burnaking9968
      @burnaking9968  3 роки тому +1

      I appreciate constructive criticism, it helps me to improve and better my videos but ya the low audio I can 100% agree with.

    • @thunderbear06playsstuff63
      @thunderbear06playsstuff63 3 роки тому

      @@burnaking9968 Np! Glad to help

  • @froggyproductions5747
    @froggyproductions5747 3 роки тому

    This video was great but I can't find my animation, I don't think I had a folder open, do I have to ree do the whole thing now?

    • @burnaking9968
      @burnaking9968  3 роки тому +1

      no, in assets there should be a search bar on the top right of the assets box, just search for the name of the animation and it should bring it up or you can in the animator where you go to insert your aniamtion there should be a circle to the right which will bring up a list of animations in your project or you can search for it there as well.

    • @froggyproductions5747
      @froggyproductions5747 3 роки тому

      @@burnaking9968 Thanks but I have done everything you've told me and it still does not pop up, I think I didn't have a folder open when I made the animation

    • @froggyproductions5747
      @froggyproductions5747 3 роки тому +1

      @@burnaking9968 Oh nevermind I found the problem! Haha thanks man for the great video! You're getting one like and one sub. Have a good day

  • @iEL_Rivale
    @iEL_Rivale 3 роки тому

    Wow that´s cool and awesome for nooby beginners like me! Say, if i want to make a puppet and hold it in my hand, can i give it mouth movement animations when i talk, like any ordinary speaking vrchat avatar? If yes, how?

  • @Blu0tuth0ninja
    @Blu0tuth0ninja 3 роки тому

    I got this to work once, but now it wont toggle off on a different project.

  • @SharkCX
    @SharkCX 3 роки тому

    how do you rotate the object

    • @burnaking9968
      @burnaking9968  3 роки тому

      Press e to rotate, W to move, and R to resize

  • @susgus13
    @susgus13 3 роки тому +1

    Agh, my model doesn't have FX for some reason

  • @ohZeqzh
    @ohZeqzh 3 роки тому

    Hey hey! Is there a way to make for example sunglasses that you have on your head, moves to your face/nose with a toggle like that? didn't find any ways to do it, thanks!

    • @burnaking9968
      @burnaking9968  3 роки тому

      Yes, if you move the glasses to where you want them to be on the model and in the hierarchy drag the glasses onto the head (which you can access by pressing the arrows to the left until you reach the head) or part of the head you want the glasses to follow and move along with

    • @ohZeqzh
      @ohZeqzh 3 роки тому

      @@burnaking9968 Alright, thanks for your answer, i'll try it out!

    • @ohZeqzh
      @ohZeqzh 3 роки тому

      @@burnaking9968 Okayyy i managed to do it, had to use the "transform rotation/position" in the animator, unmark the "loop", delete the second time stamps, and follow the tutorial, thank you! +1like and sub. Looking forward for more!

  • @joebuehrer
    @joebuehrer 3 роки тому

    That's a sweet ass guitar too! Ibanez's are great axes