Modeling, Rigging And Animating A Gun In Blender And Unity

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

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

  • @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 года назад +41

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

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

      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 Год назад +2

      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

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

    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

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

    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 года назад +1

      I'm really glad you found it useful!

  • @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  Год назад +10

      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.

  • @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!

  • @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 💪

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

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

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

      OH NO! lol

  • @helmetboyHD
    @helmetboyHD 21 день назад

    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 :)

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

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

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

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

  • @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!

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

    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!

  • @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 года назад +1

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

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

    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  8 месяцев назад +1

      So glad you found it useful.

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

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

    • @Tvtig
      @Tvtig  Год назад +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 5 месяцев назад

      @@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 года назад +2

    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.

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

    Thank you so much for keeping it smooth and simple!

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

    dude thank you so much this tutorial was amazing

  • @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!

  • @QueueWithACapitalQ
    @QueueWithACapitalQ Год назад +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

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

    Very clear explonation, thank you so much!

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

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

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

      Thank you very much!

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

    This video is gold.

  • @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

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

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

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

      I call it the hammer of Glock.

  • @BusinessWolf1
    @BusinessWolf1 11 месяцев назад +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  11 месяцев назад

      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 :)

  • @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

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

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

  • @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

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

    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

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

    Thank you

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

    glock with a hammer?? anyways thanks for the tutorial

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

    This is underrated content

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

      No you!

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

    glock with hammer. EEEUUUUUH BROTHER EEEEUHH

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

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

  • @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!

  • @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!

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

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

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

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

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

    glock with hammer because yes

  • @user-fg2lh2kk6l
    @user-fg2lh2kk6l 3 месяца назад

    just need the lower part

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

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

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

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

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

      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!

  • @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?

  • @materwelon717
    @materwelon717 10 месяцев назад +1

    Dont forget to~

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

      You watched till th

  • @eastrasmann
    @eastrasmann 2 года назад +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  2 года назад

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

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

      @@Tvtig yessss

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

    Really good video.

  • @DarkTails-zg6ji
    @DarkTails-zg6ji 8 месяцев назад

    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.

  • @sansavatar5929
    @sansavatar5929 5 месяцев назад +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

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

    Thanks so mach!

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

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

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

    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?

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

    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???

  • @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 !!!!

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

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

  • @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?

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

    Could you export blender bones to unreal as well?

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

    W

  • @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.

  • @knuckles7410
    @knuckles7410 6 месяцев назад +1

    11:09: Why do you do it the lamest way possible instead of binding a rotation to the hammer related to the slide position value?

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

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

  • @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:

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

    keeps crashing on me when i connect the bones

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

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

  • @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

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

    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 9 месяцев назад

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

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

    Why can't I select keep offset

  • @AmauryChihuahua
    @AmauryChihuahua 11 месяцев назад +1

    do blender and godot next

    • @Tvtig
      @Tvtig  11 месяцев назад +1

      I might just do that!

    • @AmauryChihuahua
      @AmauryChihuahua 11 месяцев назад +1

      @@Tvtig nice

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

    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?

  • @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?

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

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

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

    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  Год назад

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

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

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

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

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

  • @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.

    • @appledoesrandomstuff
      @appledoesrandomstuff 11 месяцев назад

      still doesnt work@@Tvtig

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

    can rigging be skipped for a simple weapon like this?

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

      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.

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

    Can you make it into a asset i really like it

  • @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!

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

      @@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.

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

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

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

      Ja Boet! lol Thanks for watching :)

  • @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!

  • @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.

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

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

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

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

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

    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

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

    please remove the hammer from the glock

  • @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

  • @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.

  • @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

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

    Glocks don't have hammers.....

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

    u didnt knew how a gun works?

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

      Not everyone is American

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

      @@HexOverride me neither

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

      @@333333333797 oh sorry, ignore my comment

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

    why youre makeing model but cheating?

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

      Lol how did I cheat?

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

    hammer on a glock. LOL

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

      hahaaaaahahahaahhahahahahaahhaaa