Modeling, Rigging And Animating A Gun In Blender And Unity

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 179

  • @Tvtig
    @Tvtig  3 года назад +22

    Hey Guys - You can find the blend file below, also please don't forget to leave a like if you enjoyed the video :)
    github.com/Tvtig/PropLibrary

    • @popcornking
      @popcornking Год назад

      Tip- Apply values before starting animating

  • @Someone-pg3rn
    @Someone-pg3rn 2 года назад +48

    Btw, when glocks are fired the barrel arches up a bit for the next round to enter

    • @Tvtig
      @Tvtig  2 года назад +23

      Oh that's a nice little detail I wish I'd added. Thanks for pointing it out. I thought you were gonna tell me glocks have no hammers like everyone else lol.

    • @Someone-pg3rn
      @Someone-pg3rn 2 года назад +1

      @@Tvtig lol

    • @98studios92
      @98studios92 2 года назад

      most hand guns chambered in 9mm and .45 acp have this feature

    • @JacquesDigital927
      @JacquesDigital927 Год назад +3

      And a glock is striker fire doesnt have hamer but good to see how this is done why we watch the video

    • @Someone-pg3rn
      @Someone-pg3rn Год назад

      @@JacquesDigital927 agreed

  • @thomasjhun3700
    @thomasjhun3700 2 года назад +7

    although this was sped up, it helped me SO much in understanding the workflow of modeling and rigging a gun, like which parts I actually need to model and dont need to such as the barrel.

    • @Tvtig
      @Tvtig  2 года назад +2

      I'm really glad you found it useful!

    • @YoutuberUser000
      @YoutuberUser000 6 дней назад +1

      You need the barrel on a weapon model. How do you expect it to shoot?

  • @ricejenkins4973
    @ricejenkins4973 2 года назад +24

    This was a wonderful tutorial! I was worried about getting to the animation part because I was afraid it was going to be super complicated, so I really appreciate this tutorial making everything easy to understand

  • @antanaspaskauskas9432
    @antanaspaskauskas9432 2 года назад +11

    Thank you, that was much easier than I expected. I dreaded trying to rig and animate, but at least for mechanical things its grand!

  • @redpillproductionscanada5563
    @redpillproductionscanada5563 Год назад +8

    Great job, not sure if you knew this or not but a glock does not have an exposed hammer, thanks for making this, had no idea how this process worked.

    • @Tvtig
      @Tvtig  Год назад +12

      Ah thanks man, many people have let me know in this comment section that I have indeed created a new, triggering variant of the glock haha.

  • @epicswag8802
    @epicswag8802 2 года назад +3

    This video was probably the most helpful blender video I've ever seen, I come back to this every month or so when I forget something lol

    • @Tvtig
      @Tvtig  2 года назад +2

      This genuinely warmed my heart to read. I'm glad you found it useful!

    • @gabrielegagliardi3956
      @gabrielegagliardi3956 2 года назад

      Blender is such a wholesome community, your are both awesome. Subscribed 💪

  • @practic4l349
    @practic4l349 Месяц назад +2

    14:21 don't forget to what? DON'T FORGET TO WHAT!?

  • @BusinessWolf1
    @BusinessWolf1 Год назад +1

    8:17 bro glocks do not have a hammer. They have a striker inside them. Same thing with every other gun that doesn't have a hammer on the outside.

    • @Tvtig
      @Tvtig  Год назад +1

      You know, this video has over 100 comments, and I think 80% of them are teaching me about the glock hammer lol. Hope you found some value in the video anyway :)

  • @bruhman5829
    @bruhman5829 Год назад +1

    THANK YOU TVTIG. I've been trying to get into modeling, rigging, and animating by making my own Ravenfield mod, but all of the tutorials for it may as well have been made in 1983 for how out of date they are. After several days of scrubbing through long-winded, confusing tutorials with bad mics and hard-to-follow instructions, it's so nice to come across a tutorial that's as well put together as this one is. Rigging makes sense now! I'm looking forward to see what you come out with next.

    • @Tvtig
      @Tvtig  Год назад

      You are most welcome man. Thanks for the support :)

  • @Crowbar
    @Crowbar 2 года назад +2

    This is one of the best tutorials on this topic I've seen yet

  • @harleypalmer2229
    @harleypalmer2229 Год назад +3

    Top Man! My opinion carries no weight but if you're like me and need a quick and easy-to-follow summary about rigging then this video (^) is the one. Great job Tvtig!

  • @XL_Virus
    @XL_Virus 2 месяца назад

    simple and usefull , no stupid complex ways that took a whole day to understand

  • @ruix
    @ruix Год назад +5

    My man also invented a new Glock model. Great tutorial by the way.

    • @Tvtig
      @Tvtig  Год назад +3

      Lol gotta keep innovating. I have no regrets about my external hammer Glock haha

  • @SharkByteOfficial
    @SharkByteOfficial 2 года назад +4

    Oh no lmao the cursed HAMMER on A GLOCK...

    • @Tvtig
      @Tvtig  2 года назад +1

      OH NO! lol

  • @name_isme3245
    @name_isme3245 2 месяца назад

    bro does more reaserch into gun function than most tripple A game studios.

  • @chumleechumbucket6625
    @chumleechumbucket6625 Год назад

    the rigging process here is a godsend, I keep coming back because I keep forgetting how to properly set up bones and all

    • @Tvtig
      @Tvtig  Год назад +1

      So glad you found it useful.

  • @helmetboyHD
    @helmetboyHD 4 месяца назад

    thanks, i had no idea why my arms werent moving with my character; your video helped me understand I had to parent the main bone :)

  • @lmaoman7335
    @lmaoman7335 2 года назад +6

    hey man, i got to this video recently, but if you see this i gotta tell you this: glock does not have visible hammer (the thing in the back of the slide) it has integrated hammer, just lil tip, otherwise its great model

    • @Tvtig
      @Tvtig  2 года назад +2

      Thanks for the advice man - haha, a few people in the comments have let me know that I don't know how glocks work!

  • @stickykeys7413
    @stickykeys7413 2 года назад +3

    Thank you! this basically taught me rigging, i use this a lot!

    • @Tvtig
      @Tvtig  2 года назад +4

      To be honest, even I come back to this video when I’m trying to rig stuff haha. I’m glad you found it useful though!

    • @RictorScale
      @RictorScale 8 месяцев назад

      @@Tvtig it's crazy how good it is. i've barely ever used blender and was able to rig my gun first try. You did a great job

  • @alex342gwsturk8
    @alex342gwsturk8 2 года назад +3

    glocks dont have hammers and you added a hammer at the back...
    my eyes are burning

    • @Tvtig
      @Tvtig  2 года назад +1

      Lol - I’m sorry I offended your eyes with my lack of education. I wouldn’t have even been able to tell you that this was a glock.

  • @reidlab
    @reidlab 2 года назад +1

    thank you!! i was so confused on how to split the model up!

    • @Tvtig
      @Tvtig  2 года назад

      Ah you’re welcome, I struggled with it for a while too. Then I realised, real life objects are often made up of many different parts, let’s just model them individually!

  • @DeadlierEmu84
    @DeadlierEmu84 4 месяца назад

    at lik3 3:58 I cant get a circle to get put in the cube with the knife thing. am I doing something wrong or do i need a specific addon?

  • @chaver28
    @chaver28 9 месяцев назад

    hey bro great tutorial dude and i know it says unity but any chance you know how to get it all working in ue5??

  • @herry887
    @herry887 Год назад

    Awesome video! Quck question, I am trying to do the procedure you taught at 9:25, but when I try to edit the two bones my "keep offset" option is greyed out. Any ideas as to why this is happening?

    • @herry887
      @herry887 Год назад

      Actually, I think this video (ruclips.net/video/ZO4kqD3BMkA/видео.html) shows another way to do the same thing at 4:38?

  • @OmeedNOuhadi
    @OmeedNOuhadi 2 года назад

    Thank you so much for keeping it smooth and simple!

  • @onioncontrol
    @onioncontrol Год назад

    What the establishment fears most: the glock with a hammer. Great tutorial btw you're very talentedm

    • @Tvtig
      @Tvtig  Год назад +1

      Thanks man, coming up with my own variants of guns is indeed a special talent lol

  • @TheSuperiorDuck
    @TheSuperiorDuck 7 месяцев назад

    dude thank you so much this tutorial was amazing

  • @pingiboi351
    @pingiboi351 2 года назад +2

    Man, a glock with a hammer at the back just looks so wrong

  • @WilliamKennedy-q6o
    @WilliamKennedy-q6o 7 месяцев назад

    just need the lower part

  • @caydenhester1310
    @caydenhester1310 Год назад +1

    Could you export blender bones to unreal as well?

  • @mirage9565
    @mirage9565 Месяц назад

    Glock with a hammer ? Yankee with no brim ?!

  • @sansavatar5929
    @sansavatar5929 9 месяцев назад +1

    When I was animating the rigged gun it created an action for each one of the bones instead of one action for every bones. What could be the issue? I am adding a single bone, duplicating it and parenting each part of the gun to the bones accordingly then I parent the other bones to the base bone just like you did but you got a single action for animating every bones
    edit: alright nvm I was duplicating in object mode instead of edit mode

  • @Queue3612
    @Queue3612 Год назад +2

    11:23 "pay attention to the mechanism of the thing you are modeling" he says whilst animating an external hammer on a _glock_ after childing it to the slide. Glocks dont have external hammers.
    Cool tutorial otherwise

  • @LunarMARAUDER
    @LunarMARAUDER Год назад +1

    Why can't I select keep offset

  • @sidsays1340
    @sidsays1340 10 месяцев назад

    Just for clarification but if you do not plan on doing recoil on the gun animation but rather with the character itself is the bone on the handle of the gun necessary???

  • @milan_wulf
    @milan_wulf 2 года назад +3

    Nice tutorial! I just like to know why is it important to use bones and not just simple keyframest for animation?

    • @Tvtig
      @Tvtig  2 года назад +2

      To be honest, I've been thinking about this and can't think of a good answer other than, I just prefer the structure of working with bones rather than individual objects. Great question though, if you ever find a better reason, please share it with me!

    • @bruhman5829
      @bruhman5829 Год назад +3

      i tried to animate without bones and it blew. every time i tried to rotate the gun it would animate each part rotating by itself, so the slide and the magazine and everything were clipping through each other and shit

    • @milanwulf
      @milanwulf Год назад

      @@bruhman5829 Interesting, so you think parenting needs to be handled differently when animating without bones? Or do you have to consider World Rotation and Local Rotation?

  • @syikoosu
    @syikoosu 10 месяцев назад

    This video is gold.

  • @itskrissbruhtv
    @itskrissbruhtv 2 года назад

    at 10:54 I hit rotation and location, but what do you do at the bottom to make the two points connect into one? I have the starting point, and the trigger pulled point, how do you smooth the transition between the two points like that?

    • @Tvtig
      @Tvtig  2 года назад

      Yo! I just duplicate the first key frame with shift + d to keep it in place for a few frames.

  • @sneedchuckfeedseed
    @sneedchuckfeedseed 2 года назад

    ( the pistol displayed as the reference image has an internal hammer)

  • @DarkTails-zg6ji
    @DarkTails-zg6ji Год назад

    Ok so i did basically the same thing with a pre prepared model that i rigged (not made by me), but when i go to the dope sheet and then the action editor everytime i insert the keyframe for all the bones and select one of them, it changes the action from "shoot" to , say "Bone_BaseAction.001". PLEASE HELP.

  • @coldhdhs
    @coldhdhs Год назад

    at 12:31 you skip what seems to be a very important step which is stopping me from exporting the animations

  • @OodDoodelic
    @OodDoodelic 5 месяцев назад

    Great video but Glock with a hammer is going to haunt me in my sleep tonight.

    • @Tvtig
      @Tvtig  5 месяцев назад

      I call it the hammer of Glock.

  • @notinteresting1495
    @notinteresting1495 2 года назад

    So you would much like in irl, split the model in to upper lower or in the case of pistols, frame and slide?

    • @Tvtig
      @Tvtig  2 года назад +1

      Yes! Especially for the purposes of animation, you would need different parts that you can move around.

  • @materwelon717
    @materwelon717 Год назад +1

    Dont forget to~

    • @Tvtig
      @Tvtig  Год назад

      You watched till th

  • @BroodLing46
    @BroodLing46 Год назад

    Cool, but Glock does not have cock hammer outside the casing :D
    It really helps to go on the range and do some shooting practice with real one

  • @brunoriyuoficial
    @brunoriyuoficial 3 года назад +1

    Very well! I like here to help too! Congratulations !

    • @Tvtig
      @Tvtig  2 года назад +1

      Thank you very much!

  • @daniilleonov4822
    @daniilleonov4822 Год назад

    Very clear explonation, thank you so much!

  • @savageYP
    @savageYP Год назад

    Absolutly amazing video taught me alot. however i cant over look the fact you put a hammer on a glock when glocks dont have exposed hammers lmao. (Sorry for taking the piss)

    • @Tvtig
      @Tvtig  Год назад +1

      Lol no need to apologize, I have gotten so much stick for it in this comment section - I am immune. Glad you found it useful though!

  • @capitaljay1
    @capitaljay1 Год назад

    I didn’t read the comments to see if anyone noticed this, but it seems like the mechanism that spits out the shells is on the left side instead of the right side which I don’t know how many guns do that

    • @Tvtig
      @Tvtig  Год назад

      Oh that's an interesting detail I missed. Good catch.

    • @capitaljay1
      @capitaljay1 Год назад

      @@Tvtig Thanks, and thanks for the tutorial !!!!

  • @bleragi
    @bleragi 2 года назад

    Here I don't understand where is the collection of the gun gone and if I need to add an armature and just copy bones or should I have separate armatures? Since I'm rigging a revolver how do I make a constraint to rotate the cylinder in place?

  • @watchedsmile
    @watchedsmile 4 месяца назад

    very small nitpick that im sure someone else has already mentioned but a glock like the one you are modeling does not have a hammer. (maybe you just added it for tutorial purposes)? great tutorial though

  • @arc5379
    @arc5379 7 месяцев назад

    yo dude, is the vertex group not important? wanted to join discord n ask but link is down tho, thanks in advance

  • @Lorange_7
    @Lorange_7 Год назад

    for some reason it deletes parts of my gun when i add it to a bone, how can i fix this?

  • @Weiufthe
    @Weiufthe 2 года назад

    This is underrated content

    • @Tvtig
      @Tvtig  2 года назад

      No you!

  • @fluxxy6260
    @fluxxy6260 Год назад

    hey i was wondering what did you press and or use to make the model to be fully transparent? I can't seem to find it myself

    • @Tvtig
      @Tvtig  Год назад +1

      Hey there - Alt+z enters x-ray mode. The icon is in the top right hand corner of the screen, looks like two squares overlapping each other.

    • @fluxxy6260
      @fluxxy6260 Год назад

      @@Tvtig thanks!

  • @ALFONIC
    @ALFONIC Год назад

    Bro I don't know if your still here but my bones aren't linking up to my mesh, when I try to parent them in pose mode the armature still moves on its own without the mesh.

    • @ALFONIC
      @ALFONIC Год назад

      Never mind, I had to parent it with automatic weights, instead I was doing it without any weights lol, thanksfor the video!

    • @Inkxo3D
      @Inkxo3D Год назад

      @@ALFONICNo,use weights with empty groups,make and name parts of the gun as vertex groups,such as Body,magazine,charge handle,and then assign those parts of the gun in edit mode to the vertex groups.Make an armature,add one bone for each part,then name the bones exactly the same as the parts they will be controlling,for instance The bone for the magazine should be named “magazine” or whatever you named the vertex group.Then in object mode parent the gun to the armature with empty groups.

  • @jensenj912
    @jensenj912 2 года назад +1

    Thank you

  • @lechefski
    @lechefski 6 месяцев назад

    can rigging be skipped for a simple weapon like this?

    • @Tvtig
      @Tvtig  5 месяцев назад

      I suppose.. It depends on what your end goal is. But in most animation software rigs are the standard, its even easier to work with rigs in Unities built in animation system.

  • @BecksCraft
    @BecksCraft 6 месяцев назад +3

    glock with hammer. EEEUUUUUH BROTHER EEEEUHH

    • @Tvtig
      @Tvtig  5 месяцев назад

      It is a variant of the original Glock called the Glammer.

  • @distinguishedflowerturtle
    @distinguishedflowerturtle Год назад

    Im having trouble with pairing the bones together to make parent bones. when i click the child bone first then the parent bone and press ctrl+p the keep offset isnt selectable. reply if you can help me with this on discord

  • @user-ur2wi5ve5s
    @user-ur2wi5ve5s Год назад

    this is amazing with i knew how to do stuff like cut a hole in a model with another model... P.S. Hammer Fired glock wtf

  • @emilalibekov
    @emilalibekov 3 года назад

    Man I feel your pain when you were modeling slide with barrel with all those failed boolean attempts!

    • @Tvtig
      @Tvtig  3 года назад

      Bro - even though it was a few months ago, I still remember how frustrated I got modelling that part haha!

    • @EmpathizeVortex
      @EmpathizeVortex Год назад

      @@Tvtig dont even get me started. took me days of failed attempts on the barrel to figure why it kept failing everytime!

  • @haijehiemstra2883
    @haijehiemstra2883 Год назад

    Uhhh... glocks dont have a hammer on the outside last time i remember.

  • @The_Chosen_Heretic
    @The_Chosen_Heretic Год назад

    9:23 This just doesn’t work. The options appear blurred out for me.

    • @Tvtig
      @Tvtig  Год назад

      Make sure you select the armature in object mode and then switch to edit mode before doing the parenting.

    • @aple05
      @aple05 Год назад

      still doesnt work@@Tvtig

  • @GameDev_Master
    @GameDev_Master 2 года назад +1

    DAMN HELL. I spent 1 week trying to rig my gun and now thanks to yo0u it worked

    • @Tvtig
      @Tvtig  2 года назад

      Haha I'm glad I could help man!

  • @duboo5016
    @duboo5016 2 года назад

    4 seconds into riging and I cant even add a bone...

  • @someidiot5229
    @someidiot5229 2 года назад

    for some reason it never gives me the option for single bone did blender do a update that changed the armatures or something?

  • @zigouris6806
    @zigouris6806 2 года назад

    in unity for some reason animations dont work but work in blender (i watched a lot of tutorials on how to apply animations and i tried using a model from mixedo and it worked but my animation dont work any ideas?

  • @gamermanmitchell
    @gamermanmitchell Год назад

    how do i delete actions in the action editor?

    • @Tvtig
      @Tvtig  Год назад

      In the scene collection view, switch to the blender file view, and you can delete the action permanently from there. Not sure why it's so convoluted.

  • @AmauryChihuahua
    @AmauryChihuahua Год назад +1

    do blender and godot next

  • @brandonviger2245
    @brandonviger2245 2 года назад

    what happens if crlt p doesnt work in edit mode with both bones

    • @Tvtig
      @Tvtig  2 года назад

      You can get there from the object menu too! docs.blender.org/manual/en/2.79/editors/3dview/object/properties/relations/parents.html

  • @Someone-pg3rn
    @Someone-pg3rn 2 года назад

    this vid is the easiest animating and bone tutorial for blender lol

  • @HecloThere
    @HecloThere 2 года назад

    for some odd reason the keep offset is not working for me

    • @EmpathizeVortex
      @EmpathizeVortex Год назад

      Same how do you fix it

    • @EmpathizeVortex
      @EmpathizeVortex Год назад

      figured it out. its because i duplicated the armatures instead of adding bones. there should be one armature then rest are bones

  • @daboyz6106
    @daboyz6106 Год назад

    Really good video.

  • @sulfur3684
    @sulfur3684 2 года назад

    my gun seems to stretch when rotating or moving, any idea why?

  • @DatsDaven
    @DatsDaven Год назад

    glock with hammer because yes

  • @nimbusz260
    @nimbusz260 Год назад +1

    W

  • @blender_unleashed
    @blender_unleashed 2 месяца назад

    why did you add a hammer to a glock lol

  • @eastrasmann
    @eastrasmann 3 года назад +1

    Awsome.idk If you take fan suggestions for either SFM or Blender but using the Kenny season 2 model from the walking dead could plz do a short fist fighting punching kicking slamming elbowing kneeing slamming into objects short combat animation of Kenny absolutely destroying zombies in combat animation. Search up Kenny player model and NPC in the steam workshop.😁

    • @Tvtig
      @Tvtig  3 года назад

      Haha dude! That sounds like so much fun, thanks for the comment and suggestion - I'll add it to the list :D

    • @eastrasmann
      @eastrasmann 3 года назад

      @@Tvtig yessss

  • @dicebot9617
    @dicebot9617 2 года назад

    what tool do you use for the modeling?

    • @Tvtig
      @Tvtig  2 года назад

      Hey there, I used Blender!

    • @dicebot9617
      @dicebot9617 2 года назад

      @@Tvtig lol no i mean what TOOL not program

    • @dicebot9617
      @dicebot9617 2 года назад

      @Joel Wallace bro i mean in program tool like lmao why dont ppl understans

    • @LaynaLatte
      @LaynaLatte 2 года назад +2

      he's just using built in blender tools

    • @chicc73
      @chicc73 2 года назад +1

      @@dicebot9617 extrude inset etc. is that wym

  • @toast_cat2258
    @toast_cat2258 2 года назад

    Can you make it into a asset i really like it

  • @ГлебДиденко-ы2в
    @ГлебДиденко-ы2в 2 месяца назад

    at 3:53 bro started loosing his mind for a second
    P.s. there is no hammer on a Glock pistol. Taking into account that "you've watched 10 videos" i can assume that you've made it on purpose.

  • @Tim_Voronkin
    @Tim_Voronkin 2 года назад

    Thanks so mach!

  • @momakkjj9502
    @momakkjj9502 2 года назад

    Are you South African you accent sounds like It? Good vid btw

    • @Tvtig
      @Tvtig  2 года назад

      Ja Boet! lol Thanks for watching :)

  • @beamwh
    @beamwh 2 года назад +2

    When he made a hammer for the glock, I was like "DUDE WTH WHY"

    • @Tvtig
      @Tvtig  2 года назад +2

      Lol this seems to offended a few people. Whoops.

    • @beamwh
      @beamwh 2 года назад +1

      @@Tvtig lol

    • @beamwh
      @beamwh 2 года назад

      @@Tvtig Twitter users be like:

  • @THR1VE.CINEMATOGRAPHY
    @THR1VE.CINEMATOGRAPHY 2 года назад

    You put a hammer on a glock... still nice though

  • @nettspends-joint
    @nettspends-joint Месяц назад

    bro made a glock with a hammer 💔

    • @Tvtig
      @Tvtig  Месяц назад +1

      :,-)

  • @gr1m5H4d3
    @gr1m5H4d3 7 месяцев назад

    please remove the hammer from the glock

  • @somebodynotnew9470
    @somebodynotnew9470 2 года назад

    glock doesn't work like that;-;

    • @Tvtig
      @Tvtig  2 года назад +2

      Lol yeah, I've been told MANY times in this comment thread

  • @pv8685
    @pv8685 Год назад

    you did watch 10 people watch shooting guns... and didnt realise that the glock you modeling is striker fired and doesnt have a hammer at the back at all? 😆

    • @Tvtig
      @Tvtig  Год назад +2

      I watched 10 vides and didn't even realize I was modelling a glock lol.

  • @333333333797
    @333333333797 8 месяцев назад

    u didnt knew how a gun works?

    • @HexOverride
      @HexOverride 5 месяцев назад

      Not everyone is American

    • @333333333797
      @333333333797 5 месяцев назад

      @@HexOverride me neither

    • @HexOverride
      @HexOverride 5 месяцев назад

      @@333333333797 oh sorry, ignore my comment

  • @charlieramsey2828
    @charlieramsey2828 Год назад

    Glocks don't have hammers.....

  • @turiipturiip
    @turiipturiip Год назад

    why youre makeing model but cheating?

    • @Tvtig
      @Tvtig  Год назад +3

      Lol how did I cheat?

  • @muratemresimsek8668
    @muratemresimsek8668 Год назад

    hammer on a glock. LOL

    • @Tvtig
      @Tvtig  Год назад

      hahaaaaahahahaahhahahahahaahhaaa

  • @timorre3971
    @timorre3971 29 дней назад +1

    I hate these "look what i can do" videos. Theyre worthless

    • @Tvtig
      @Tvtig  29 дней назад

      Great thing about RUclips is - you can choose not to watch content you don’t like! You can even dislike videos and block entire channels from your feed :).
      Have a great day!