How to fire a gun (or any animation) with gestures in VRChat

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 48

  • @Airbee
    @Airbee  ปีที่แล้ว +11

    In case your gun snaps back to your hip when shooting:
    This has something to do with write defaults. I forgor that many people still use that. Try copying all the keyframes from the "equip gun" animations into the "shoot" animation aswell
    (the parent constraint animation keyframes)

  • @LukeMaster12-ITA
    @LukeMaster12-ITA 28 วันที่ผ่านมา

    I'm so glad I found this video. I've finally fixed a dumb issue I've had for months now. Thank you.

    • @Airbee
      @Airbee  28 วันที่ผ่านมา

      Awesome, glad i could help :D

  • @Anteupplaya
    @Anteupplaya 10 หลายเดือนก่อน

    This video was really helpful! I'm a quest user and this video helped me find out shooting for quest. Now i wanna learn how to make select fire and make bullets collide. But this is a great start!

  • @MauseDays
    @MauseDays ปีที่แล้ว +1

    I was doing over complex stuff with pram drivers and such. It makes so much sense just to have 3 states on hip - drawn if drawn and gesture = shooting Cool video will make my work flow way easyer

  • @ifrite3
    @ifrite3 ปีที่แล้ว

    yooo! been waiting for this! i managed to somewhat figure it out prior to this but was interested in seeing how other people do it too!!

    • @Airbee
      @Airbee  ปีที่แล้ว

      Its always good to see different or new approaches to the same topic :D

  • @pickled-melon
    @pickled-melon ปีที่แล้ว +2

    i know you had mentioned you had forgotten how to do the particle effects but a tutorial on them would be great

    • @Airbee
      @Airbee  ปีที่แล้ว +1

      Mh, particles are really not my cup of tea, the best thing i can give to you here is pause the video and copy the parameters that i had, and look up some basic particle tutorials on youtube, there's plenty.

    • @pickled-melon
      @pickled-melon ปีที่แล้ว +1

      @@Airbee i ended up figuring it out myself and it turned out well, you're video has been a huge help in my project :3

    • @Airbee
      @Airbee  ปีที่แล้ว +1

      @@pickled-melon Great to hear, good job! :D

  • @PuddingWhispers
    @PuddingWhispers ปีที่แล้ว

    Thanks!!

    • @Airbee
      @Airbee  ปีที่แล้ว

      You're welcome :)

  • @kinositahimaru
    @kinositahimaru 6 หลายเดือนก่อน

    I've seen a few tutorials so far teaching the same content, but your videos are by far the most easy to understand. It's been so helpful going through these and slowly developing my avatar after I figure out what's going on! I wanted to ask, would it be possible to make a video on how to create a grabbable prop on your avatar which has two points of contact? for example, a rifle where your left hand connects with the front grip while your right hand is attached to the rear grip/trigger etc and the item is manipulated by the location of those two points

    • @Airbee
      @Airbee  6 หลายเดือนก่อน +1

      Thanks for the kind words

  • @bossluigi6372
    @bossluigi6372 ปีที่แล้ว +5

    It didn't work for me. When I grab the gun and then shoot with a gesture it snaps back to the hip.

    • @lopezmonzea12
      @lopezmonzea12 ปีที่แล้ว

      He didn't show us the logic of transitioning back from prop hand to prop hip, maybe it's that

    • @MetaPlay23
      @MetaPlay23 ปีที่แล้ว

      same

    • @Airbee
      @Airbee  ปีที่แล้ว +3

      This has something to do with write defaults. I forgor that many people still use that. Try copying all the keyframes from the "equip gun" animations into the "shoot" animation aswell
      (the parent constraint animation keyframes)

    • @MetaPlay23
      @MetaPlay23 ปีที่แล้ว

      @@Airbee That worked for me! Thank you so much! Now I need to figure out how to make the animation not loop and only play once when I press the trigger. Because right now it keeps shooting like an automatic lol

  • @freshwalten172
    @freshwalten172 ปีที่แล้ว

    great video!

  • @Un_Lucky1
    @Un_Lucky1 6 หลายเดือนก่อน

    even though i have play on awake enabled, when i play the animation the effects dont play

  • @TinkyWinky_Tele
    @TinkyWinky_Tele ปีที่แล้ว +2

    This is very helpful thank you! I was wondering because I mostly looking for how to like toggle it using the emotes on Vrchat, would it work still If I used the toggle button instead of having to grab it? Because i am also gonna use my gun on pc

    • @Airbee
      @Airbee  ปีที่แล้ว

      Yes sure that would work aswell. You can make a toggle that pulls it out, and then fire with a gesture or another action menu button

    • @TinkyWinky_Tele
      @TinkyWinky_Tele ปีที่แล้ว

      @@Airbee Alright! also one more question, how do you get the GestureRight and all that gesture stuff on your parameters? im a bit lost on that part.....

    • @TinkyWinky_Tele
      @TinkyWinky_Tele ปีที่แล้ว

      oh wait nevermind! i finally got it to work!!!! thank you so much, you do not know how much you just saved my reputation for this video! i thank you so much, you are amazing!!! keep those helpful Vrchat tutorial
      videos coming!

    • @Airbee
      @Airbee  ปีที่แล้ว

      @@TinkyWinky_Tele Good job :D Glad it works :)

    • @TinkyWinky_Tele
      @TinkyWinky_Tele ปีที่แล้ว

      Yes! The only issue I seem to have is when ever I pull out the gun it fires automatically once and when I turn off the gun toggle it doesn't disappear unless I put out another gesture that isn't fist, those are the only 2 problems. But I can at least fire it now!

  • @retr0pearce765
    @retr0pearce765 16 วันที่ผ่านมา

    I tried copying the keyframes from the equip gun animation to shoot animation but it still goes back to my hip, I need help :(

  • @sillanus1
    @sillanus1 7 หลายเดือนก่อน

    Can you make a tutorial for how to do this with an integer toggle? I'm trying to make it to where the gun can only shoot if I have it equipped but no matter what I do the shooting animation never actually plays

  • @darthxjacob
    @darthxjacob 10 หลายเดือนก่อน

    Could you send a link to your video, when you make the Animator controllers from scratch?

  • @Calypso_Stinger
    @Calypso_Stinger 8 หลายเดือนก่อน

    Hey I'm wanting to make a working air horn.
    I want to have it be a prop toggle. I'm wanting for it to toggle a gesture when having it toggled that looks like you're holding the air horn. But when you hit trigger, i want it to change the gesture to another one. Im also wanting to attach an air horn sound that you can toggle on and off that only plays on the trigger gesture. How would i go about making this work?

  • @Praying-Mantis
    @Praying-Mantis 11 หลายเดือนก่อน

    I’m trying to figure out how to make something you throw and when it hits something it releases particles like a grenade or smoke bomb

  • @Ozhy27
    @Ozhy27 8 หลายเดือนก่อน

    can you tell me how to make the gesture do the same like in your video? i have gun in my avatar and I want to make my finger grip the guns when I use it

  • @CheckingsAccount1
    @CheckingsAccount1 ปีที่แล้ว

    could you do a video teaching how to make an ammo counter? for example, if you shoot X amount of times the gun will not fire until you reload.

    • @Airbee
      @Airbee  ปีที่แล้ว +1

      Sorry, probably won't. Never really did stuff like that and don't know how either ^^ Good luck though.

  • @FR3SHM3AT
    @FR3SHM3AT 9 หลายเดือนก่อน

    man my problem is my animation isnt playing throughly at all n i tried everything

  • @epickillerboy200
    @epickillerboy200 ปีที่แล้ว

    how would i make it so that when i select another weapon it doesn't activate the previous firing anim? as i got a ar and a sidarm but when i fire one and untoggle it to go to the other one, it fires the first anim with the current one
    Edit: forgot to mention that the toggles both have been set to bools so idk if that will make them clash or not

  • @amberthepyromancer1804
    @amberthepyromancer1804 ปีที่แล้ว

    um, I don't have all the gesture stuff in my animator???

    • @Airbee
      @Airbee  ปีที่แล้ว +1

      In the top left of your animator window, you have 2 tabs called "Layers" and "Parameters". Switch to Parameters, add an Integer and call it GestureRight or GestureLeft, whatever you need or both

    • @amberthepyromancer1804
      @amberthepyromancer1804 ปีที่แล้ว

      @@Airbee thank you ♥️

  • @pickled-melon
    @pickled-melon ปีที่แล้ว

    hey I was going back and trying this again and me and some others had an issue with the weapon snapping back to the hip when firing, would you know why this could be?

    • @Airbee
      @Airbee  ปีที่แล้ว

      i think this could potentially have something to do with write defaults.. try copying all the keyframes from the "equip gun" animations into the "shoot" animation aswell
      (the parent constraint animations)

    • @pickled-melon
      @pickled-melon ปีที่แล้ว

      @@Airbee you are a saint ! it worked thank you very much

  • @bananamaan_vr
    @bananamaan_vr 10 หลายเดือนก่อน

    What number is hand gun

    • @Airbee
      @Airbee  10 หลายเดือนก่อน

      6

    • @bananamaan_vr
      @bananamaan_vr 10 หลายเดือนก่อน

      @@Airbee thnx

  • @ShivaniKwawa
    @ShivaniKwawa 8 หลายเดือนก่อน

    do you know how to change contacts to a face expression with a hand pose.