Modeling, Rigging And Animating A Gun In Blender And Unity

  Рет қаралды 112,603

Tvtig

Tvtig

Күн бұрын

#blender #unity3d #gamedev
I have really been working on my modelling and animating skills in blender, with the intention of creating some good looking game assets.
I have been inspired of late, to share the details of my work, in the hope that someone watching it might find something useful in it which they can use to make their own awesome stuff. And by they, I mean you, so please do use this video and its contents to go model, rig and animate something cool, I'd love to see what you create, so pop me a tweet at tvtig.
I've really enjoyed my 3D modelling work lately, so you can probably expect to see a bit more in the way of content similar to this, I also would really like to get into the texturing aspect of things, but I just need to make sure I'm committed before spending the money on a decent bit of texturing software. There is also so much to learn in that space.
You can download the model from the prop library repo: github.com/Tvtig/PropLibrary
The video that taught me how to properly import things to Unity: • Blender 2.8+ to Unity ...
Unity Affiliate Link: assetstore.unity.com/new-to-u...
Discord: / discord
Chapters:
00:00 Modeling
08:25 Rigging
10:23 Animation prep
10:38 Animating
12:50 Setup for exporting
13:11 ​Unity
___________________________________________________
Subscribe: / @tvtig
____________________________________________________

Пікірлер: 156
@Tvtig
@Tvtig 2 жыл бұрын
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
@ricejenkins4973
@ricejenkins4973 Жыл бұрын
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 жыл бұрын
Thank you, that was much easier than I expected. I dreaded trying to rig and animate, but at least for mechanical things its grand!
@OmeedNOuhadi
@OmeedNOuhadi 2 жыл бұрын
Thank you so much for keeping it smooth and simple!
@Someone-pg3rn
@Someone-pg3rn 2 жыл бұрын
Btw, when glocks are fired the barrel arches up a bit for the next round to enter
@Tvtig
@Tvtig 2 жыл бұрын
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 жыл бұрын
@@Tvtig lol
@98studios92
@98studios92 Жыл бұрын
most hand guns chambered in 9mm and .45 acp have this feature
@JacquesDigital927
@JacquesDigital927 Жыл бұрын
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
@Crowbar
@Crowbar 2 жыл бұрын
This is one of the best tutorials on this topic I've seen yet
@harleypalmer2229
@harleypalmer2229 Жыл бұрын
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!
@thomasjhun3700
@thomasjhun3700 Жыл бұрын
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 Жыл бұрын
I'm really glad you found it useful!
@bruhman5829
@bruhman5829 Жыл бұрын
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 :)
@epicswag8802
@epicswag8802 2 жыл бұрын
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 жыл бұрын
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 💪
@TheSuperiorDuck
@TheSuperiorDuck Ай бұрын
dude thank you so much this tutorial was amazing
@redpillproductionscanada5563
@redpillproductionscanada5563 Жыл бұрын
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 Жыл бұрын
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.
@daniilleonov4822
@daniilleonov4822 Жыл бұрын
Very clear explonation, thank you so much!
@syiko_
@syiko_ 4 ай бұрын
This video is gold.
@chumleechumbucket6625
@chumleechumbucket6625 6 ай бұрын
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 6 ай бұрын
So glad you found it useful.
@ruix
@ruix Жыл бұрын
My man also invented a new Glock model. Great tutorial by the way.
@Tvtig
@Tvtig Жыл бұрын
Lol gotta keep innovating. I have no regrets about my external hammer Glock haha
@reidlab
@reidlab 2 жыл бұрын
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!
@stickykeys7413
@stickykeys7413 Жыл бұрын
Thank you! this basically taught me rigging, i use this a lot!
@Tvtig
@Tvtig Жыл бұрын
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 2 ай бұрын
@@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
@lmaoman7335
@lmaoman7335 Жыл бұрын
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 Жыл бұрын
Thanks for the advice man - haha, a few people in the comments have let me know that I don't know how glocks work!
@jensenj912
@jensenj912 2 жыл бұрын
Thank you
@DragaoNinja
@DragaoNinja 2 жыл бұрын
Very well! I like here to help too! Congratulations !
@Tvtig
@Tvtig 2 жыл бұрын
Thank you very much!
@daboyz6106
@daboyz6106 7 ай бұрын
Really good video.
@SharkByteOfficial
@SharkByteOfficial 2 жыл бұрын
Oh no lmao the cursed HAMMER on A GLOCK...
@Tvtig
@Tvtig 2 жыл бұрын
OH NO! lol
@Tim_Voronkin
@Tim_Voronkin 2 жыл бұрын
Thanks so mach!
@chaver28
@chaver28 3 ай бұрын
hey bro great tutorial dude and i know it says unity but any chance you know how to get it all working in ue5??
@alex342gwsturk8
@alex342gwsturk8 2 жыл бұрын
glocks dont have hammers and you added a hammer at the back... my eyes are burning
@Tvtig
@Tvtig 2 жыл бұрын
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.
@bleragi
@bleragi Жыл бұрын
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?
@Weiufthe
@Weiufthe 2 жыл бұрын
This is underrated content
@Tvtig
@Tvtig 2 жыл бұрын
No you!
@sidsays1340
@sidsays1340 4 ай бұрын
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???
@herry887
@herry887 7 ай бұрын
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 6 ай бұрын
Actually, I think this video (kzbin.info/www/bejne/kICXnKR6aKeAoaM) shows another way to do the same thing at 4:38?
@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?
@pingiboi351
@pingiboi351 Жыл бұрын
Man, a glock with a hammer at the back just looks so wrong
@user-ur2wi5ve5s
@user-ur2wi5ve5s 10 ай бұрын
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
@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
@milan_wulf
@milan_wulf 2 жыл бұрын
Nice tutorial! I just like to know why is it important to use bones and not just simple keyframest for animation?
@Tvtig
@Tvtig 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 Жыл бұрын
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?
@onioncontrol
@onioncontrol Жыл бұрын
What the establishment fears most: the glock with a hammer. Great tutorial btw you're very talentedm
@Tvtig
@Tvtig Жыл бұрын
Thanks man, coming up with my own variants of guns is indeed a special talent lol
@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.
@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 Жыл бұрын
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!
@eastrasmann
@eastrasmann 2 жыл бұрын
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
@caydenhester1310
@caydenhester1310 Жыл бұрын
Could you export blender bones to unreal as well?
@sneedchuckfeedseed
@sneedchuckfeedseed 2 жыл бұрын
( the pistol displayed as the reference image has an internal hammer)
@5CylMedia
@5CylMedia Жыл бұрын
glock with a hammer?? anyways thanks for the tutorial
@BusinessWolf1
@BusinessWolf1 9 ай бұрын
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 9 ай бұрын
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 :)
@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 жыл бұрын
Yes! Especially for the purposes of animation, you would need different parts that you can move around.
@QueueWithACapitalQ
@QueueWithACapitalQ Жыл бұрын
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
@DarkTails-zg6ji
@DarkTails-zg6ji 6 ай бұрын
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.
@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!
@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 Жыл бұрын
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!
@arc5379
@arc5379 Ай бұрын
yo dude, is the vertex group not important? wanted to join discord n ask but link is down tho, thanks in advance
@user-fg2lh2kk6l
@user-fg2lh2kk6l Ай бұрын
just need the lower part
@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?
@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
@Someone-pg3rn
@Someone-pg3rn 2 жыл бұрын
this vid is the easiest animating and bone tutorial for blender lol
@sansavatar5929
@sansavatar5929 3 ай бұрын
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
@sulfur3684
@sulfur3684 2 жыл бұрын
my gun seems to stretch when rotating or moving, any idea why?
@GameDev_Master
@GameDev_Master 2 жыл бұрын
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!
@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 !!!!
@nimbusz260
@nimbusz260 Жыл бұрын
W
@lechefski
@lechefski 12 күн бұрын
can rigging be skipped for a simple weapon like this?
@DatsDaven
@DatsDaven Жыл бұрын
glock with hammer because yes
@materwelon717
@materwelon717 7 ай бұрын
Dont forget to~
@Tvtig
@Tvtig 7 ай бұрын
You watched till th
@Lorange_7
@Lorange_7 6 ай бұрын
for some reason it deletes parts of my gun when i add it to a bone, how can i fix this?
@momakkjj9502
@momakkjj9502 2 жыл бұрын
Are you South African you accent sounds like It? Good vid btw
@Tvtig
@Tvtig 2 жыл бұрын
Ja Boet! lol Thanks for watching :)
@coldhdhs
@coldhdhs 6 ай бұрын
at 12:31 you skip what seems to be a very important step which is stopping me from exporting the animations
@BecksCraft
@BecksCraft 23 күн бұрын
glock with hammer. EEEUUUUUH BROTHER EEEEUHH
@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 10 ай бұрын
@@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.
@duboo5016
@duboo5016 Жыл бұрын
4 seconds into riging and I cant even add a bone...
@haijehiemstra2883
@haijehiemstra2883 10 ай бұрын
Uhhh... glocks dont have a hammer on the outside last time i remember.
@Tvtig
@Tvtig 10 ай бұрын
Oh no!
@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 жыл бұрын
@@joelwallace4885 bro i mean in program tool like lmao why dont ppl understans
@LaynaLatte
@LaynaLatte 2 жыл бұрын
he's just using built in blender tools
@chicc73
@chicc73 2 жыл бұрын
@@dicebot9617 extrude inset etc. is that wym
@toast_cat2258
@toast_cat2258 2 жыл бұрын
Can you make it into a asset i really like it
@makealotofmoney9955
@makealotofmoney9955 8 ай бұрын
keeps crashing on me when i connect the bones
@gamermanmitchell
@gamermanmitchell 11 ай бұрын
how do i delete actions in the action editor?
@Tvtig
@Tvtig 11 ай бұрын
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 Жыл бұрын
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
@AmauryChihuahua
@AmauryChihuahua 9 ай бұрын
do blender and godot next
@Tvtig
@Tvtig 9 ай бұрын
I might just do that!
@AmauryChihuahua
@AmauryChihuahua 9 ай бұрын
@@Tvtig nice
@THR1VE.NATION
@THR1VE.NATION 2 жыл бұрын
You put a hammer on a glock... still nice though
@knuckles7410
@knuckles7410 3 ай бұрын
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?
@beamwh
@beamwh 2 жыл бұрын
When he made a hammer for the glock, I was like "DUDE WTH WHY"
@Tvtig
@Tvtig 2 жыл бұрын
Lol this seems to offended a few people. Whoops.
@beamwh
@beamwh 2 жыл бұрын
@@Tvtig lol
@beamwh
@beamwh 2 жыл бұрын
@@Tvtig Twitter users be like:
@LunarMARAUDER
@LunarMARAUDER Жыл бұрын
Why can't I select keep offset
@Mavmack
@Mavmack Жыл бұрын
Me too
@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
@The_Chosen_Heretic
@The_Chosen_Heretic 10 ай бұрын
9:23 This just doesn’t work. The options appear blurred out for me.
@Tvtig
@Tvtig 10 ай бұрын
Make sure you select the armature in object mode and then switch to edit mode before doing the parenting.
@appledoesrandomstuff
@appledoesrandomstuff 9 ай бұрын
still doesnt work@@Tvtig
@gr1m5H4d3
@gr1m5H4d3 Ай бұрын
please remove the hammer from the glock
@somebodynotnew9470
@somebodynotnew9470 Жыл бұрын
glock doesn't work like that;-;
@Tvtig
@Tvtig Жыл бұрын
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 Жыл бұрын
I watched 10 vides and didn't even realize I was modelling a glock lol.
@333333333797
@333333333797 2 ай бұрын
u didnt knew how a gun works?
@muratemresimsek8668
@muratemresimsek8668 7 ай бұрын
hammer on a glock. LOL
@Tvtig
@Tvtig 7 ай бұрын
hahaaaaahahahaahhahahahahaahhaaa
@charlieramsey2828
@charlieramsey2828 6 ай бұрын
Glocks don't have hammers.....
@turiipturiip
@turiipturiip Жыл бұрын
why youre makeing model but cheating?
@Tvtig
@Tvtig Жыл бұрын
Lol how did I cheat?
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 3,9 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 60 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Blender 2.90 Low Poly Weapon Rigging
5:19
Jayanam
Рет қаралды 76 М.
Blender Gun Modeling Tutorial - Modern Assault Rifle (Aryan)
1:03:08
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 143 М.
How I made a 3D Level in a 2D Game
24:28
Spu7Nix
Рет қаралды 3,4 МЛН
How I Made My FPS Game Feel Better To Play | DEVLOG 0.37
6:11
Kyle Rhoads
Рет қаралды 177 М.
THE ART OF FPS RELOAD ANIMATIONS (Blender)
7:59
Хумас
Рет қаралды 1,4 МЛН
Steps To Make Any Gun In Blender - FPS Game With Unity & Blender
11:34
Single Sapling Games
Рет қаралды 110 М.
How to Make an Army with After Effects & Blender
7:47
Caleb Natale
Рет қаралды 509 М.
Pro Game Animation Is EASY Now (Try This!)
6:59
Smeaf
Рет қаралды 306 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,3 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 657 М.