PERFECT Weapon Aiming! (IK, Unity Tutorial Third Person Shooter)

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

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

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

    🌍 Get 95% OFF on Unity Mega Bundles assetstore.unity.com/?aid=1101l96nj&pubref=perfectweaponaim
    ✅ Get my Complete Courses! ✅ unitycodemonkey.com/courses
    🔴 RELATED VIDEOS 🔴
    Awesome Third Person Shooter Controller! th-cam.com/video/FbM4CkqtOuA/w-d-xo.html
    Make your Animations DYNAMIC with Animation Rigging! th-cam.com/video/LEwYmFT3xDk/w-d-xo.html
    How to get Mouse Position in 3D and 2D! th-cam.com/video/0jTPKz3ga4w/w-d-xo.html

    • @NordicNjal
      @NordicNjal 2 ปีที่แล้ว

      So what could the reasons be if it dont work at all?

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

      Where did you get the standard animations you're using?

    • @王一次缘结一次绳
      @王一次缘结一次绳 10 หลายเดือนก่อน

      @@NordicNjal I do not know the reason.I only know if there is only one rig in rig builder,there would not be an error.I only know the result.

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

    Even as someone who works in Unreal, I can still learn so much from your videos!
    Unreal has like it's own way of achieving nearly the same thing in a very similar way so I can apply a lot of your tutorials to my own projects as well. Thank you!

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

      Likewise I watched an Unreal tutorial on making Genji's dash. And I could easily copy the logic and just write it in C# form.

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

    Thats a underexplored theme IMO, took hours searching to get a procedural lever pulling animation to work. Thanks for bringing it. It was on point =)

  • @King.K.O
    @King.K.O 3 ปีที่แล้ว +1

    Finally a well known developer youtuber made this.. been watching smaller youtubers tutorials and they out dated and were in a very low quality 😩

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

    I finally decided i want to learn how to make games so I found your channel, loved it and watched the entire TOP10 games series plus some more and finding out you were Portuguese made me really proud for some reason. I love when channels I enjoy are from our little country. Congrats on the content.

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

    great tutorial like always code monkey. Took a bit of a break (1 1/2 ish years ) from unity (working in Unreal engine for a bit), also starting College at University of Nevada, Las Vegas (UNLV) [Getting my degree in Computer Science]!

  • @gamingtipsmanolo1285
    @gamingtipsmanolo1285 2 ปีที่แล้ว

    You are a very gifted teacher. I've been teacNice tutorialng soft for over 50 years and really appreciate your video being a beginner in soft soft.

  • @luaykashef
    @luaykashef 3 ปีที่แล้ว

    I was just searching all youtube for this and I see a post notification on it from you, Thank you very much!

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

    Thanks man, this is such a useful tutorial! And so on-point. I was having such a hard time getting the animation rigging package to work, since months. You my friend are a Godsend. Thank you so much for this!

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

    Your tutorials are so different bro! Always learn something new, even if I know some of it. Thanks

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

    Hey, i just completed both tutorials and i just got to say it, they were really useful, and everything ended up looking professional. Iused the mouse sphere and it didn't work right (when sudden changes in deepness, the spine IK turned too fast), but i created an gameobject 10 meters on the z axis of the main camera and it worked amazing. And I just lerped to create a smoother movement between the position and the positioni it should aquire when following the gameObject in font of the camera that i created. I am really happy and I hope you keed doing third person shooters. A cover mechanich and simple IA that also uses it and you just got a full game.

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

      I'm glad the videos helped you! Smoothing can definitely help if you're going for a super fast twitch shooter

  • @Dominik-K
    @Dominik-K 3 ปีที่แล้ว +2

    Thanks for this tutorial, Unity really has a lot of amazing functionality already built-in

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

    As of today I have bought all your courses 😊😊 keep sharing.. I like your tuts, they are really good and with lot of things to learn..

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

      Thanks! I really hope you like them! Feel free to post any questions in the Q&A section!

  • @ArslanAhmed-f4d
    @ArslanAhmed-f4d ปีที่แล้ว +1

    hey bro please dont stop making videos like brackeys you are simply amazing

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

    I was doing this by code, and it was a pain because I had to stop animations. Excellent tutorial!, now refactoring to include this.

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

    I hope you are making an extended (paid) tutorial series for a GTA 3rd person game using Synty assets. There are probably 10’sk Synty asset owners who would buy that - maybe 100’sk Synty asset owners- partner with Synty Studios (who might provide a basic pack to go with your course) and you would have a massive market.

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

    wow this is what i have been searching for, i m so graeful to be able to watch your video, thankyou so much

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

    Huh, 2 days ago. What a coincidence.
    I am not making any 3D game right now, but it came to my mind to just search for upper body IK so in case I want to do an fps boss fight in later, I know what I'm... aiming to work with.
    Thanks for this.

  • @diyguild1327
    @diyguild1327 3 ปีที่แล้ว

    Another great video! I have been working with IK for a little bit now and I am not entirely opposed to the animation rigging workflow. However, I like to do as much as I can in code, I'd love to see a video on implementing this in code. Thanks again, truly appreciate all the knowledge you share.

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

      I'm not sure you can do much with Animation Rigging through code since the system compiles a bunch of things as soon as you hit play. For example you cannot dynamically swap the target game object or change the forward vector.

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

    That two videos were insanely good

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

    If anyone has this error - "The TransformStreamHandle cannot be resolved" - change the Rig object parent from Player Armature (the main Parent) to "Root" so the object stays near the "Hips" object

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

      Yes rig has to be in the same parent as the root
      -GameObject
      --root
      -head
      -etc
      --Rig
      --Cam

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

      Tnx Dud u r a hero

    • @24framedavinci13
      @24framedavinci13 ปีที่แล้ว

      ​@@piotrgora5715 thanks GIGA CHAD

    • @thomascircle245
      @thomascircle245 5 หลายเดือนก่อน

      What if mine is still in the Root and still giving that error? Also by "in", do you mean, "a direct child of"?

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

      @@thomascircle245 I was getting the error while my aim target was a child of the player, try moving that around.

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

    I love your every tutorials video 😍

  • @dedovagency
    @dedovagency 3 ปีที่แล้ว

    Wow Ive been doing my own game and this tutorial comes out and saves me ages! Thank you so much!

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

    Thank you for your work on this series of videos covering the different aspects of a third person shooter. I think what is missing from this series is how to handle strafing animations while aiming. Currently, the character's walking animations aren't realistic while aiming, with a sort of floating, moonwalking effect while aiming, the foot placement not consistent with the character's movement.

  • @mythillian
    @mythillian 3 ปีที่แล้ว

    Thank you, I've been looking for this forever!

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

    You are doing god's work. Thanks. 3RD TPS Controller is hardest gameplay programming subject imho. I'm glad you made this.

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

    Could you please also make tutorials for a First Person Shooter? That would be great!

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

      Yup that's a topic I'd like to cover some more, I've only made one or two FPS tutorials so far

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

      @@CodeMonkeyUnity that sounds amazing! I’m looking forward to it.

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

    We need more of these tutorials CodeMonkey! 3D FPS Zombie Style 😎

  • @ИльяОблогин-ш3э
    @ИльяОблогин-ш3э ปีที่แล้ว

    Thank you very much for your videos, I wanted to share that the constraint for the left hand is better set with Chain IK Constraint.

  • @SteveTheExploiter
    @SteveTheExploiter 3 ปีที่แล้ว

    Very very nice. I played with animation rigging when it 1st came out and had very little success. This makes me want to try it again.

  • @SleepyheadDev
    @SleepyheadDev 3 ปีที่แล้ว

    Perfect, I was looking for this

  • @Bartek-6772
    @Bartek-6772 2 ปีที่แล้ว +6

    Nice video! Could you also make tutorial for this system with multiple weapons? I think it will be very good!

  • @stylie473joker5
    @stylie473joker5 3 ปีที่แล้ว

    You know its a good day when Code monkey posts a video

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

    Great tutorial, thankyou. Issue I had is my guy holds his gun side on, applying a 45deg offset on the spines Y axis fixed that for me.

  • @dobrokhotovsergey
    @dobrokhotovsergey 27 วันที่ผ่านมา

    thanks for a lot, it's just amazing tutorial!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  26 วันที่ผ่านมา

      Nice! I'm glad it helped you, thanks!

  • @allansimpson7380
    @allansimpson7380 3 ปีที่แล้ว

    Great videos they always help me

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

    Can we all please get the full ThirdPersonShooter code from this video, because a lot of the code is now changed from the previous tutorial

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

    If anyone else runs into the " Cannot resolve because it is not a child of the etc etc."
    Move your Rig 1 onto the character. If you are following along with Synty Assets, I put it under the Root (not in the Root, under)
    Hope that helps someone else, this was an annoying issue.

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

      Omg!!! I had the same issue! Thank you so much! It was so annoying 😅

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

      Thank You so much for this info ....been battling with This since

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

      you're a lifesaver, thank you

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

      Yeah, I just ran into this and came to the comments looing for help. thank you! As much as I love synty assets, the characters do not usually play nice with animation stuff.

    • @thomascircle245
      @thomascircle245 5 หลายเดือนก่อน

      What do you mean by "onto the character"? The parent game object? Because that is what is a direct child of, and what holds the animator.

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

    hi your videos are really helpful and help me a lot for my university assignment . However I'm still struggling on weapon pick up and changing weapon ,it would help a lot if you could do a videos on that ..... But even that you helped me sooo much . Thank you , Awesome content and easy to follow as well

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

      The basics would be just a simple weapon pickup with a trigger collider to see when the player touches it th-cam.com/video/Bc9lmHjqLZc/w-d-xo.html
      Beyond that it really depends on how you implement it, you would need some script to manage switching weapons and keeping track of the active one. Then also change the visual which would possibly also require changing the IK rig (rifle requires two hands, pistol just one)

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

    Sir Plz do a tutorial on Sword and Mele Combat...Thanks

  • @あれくす
    @あれくす 3 ปีที่แล้ว

    OMG YOU DID IT!! THANK YOU!!

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

    ty the best tutorial ever
    all is working

  • @SirSnowman
    @SirSnowman 3 ปีที่แล้ว

    awesome tutorial, thank you!

  • @VVIZART_STUDIOS24
    @VVIZART_STUDIOS24 3 ปีที่แล้ว

    This is really easy thanks !! Even we publish our assets on the asset store

  • @onur3759
    @onur3759 3 ปีที่แล้ว

    omg this is so hard but perfect job! thank you!

  • @VonchkynProduction
    @VonchkynProduction 3 ปีที่แล้ว

    Thank you for such a useful tutorial

  • @deviltatsukai2201
    @deviltatsukai2201 2 ปีที่แล้ว

    going well. For so reason tNice tutorials video struck as really concise and really cleared up so questions I had. The DAW I used back in

  • @KushagraPratap
    @KushagraPratap 3 ปีที่แล้ว

    Yet to watch the video, but the thumbnail of this video and title are way better than your usual go to. The only thing I can suggest is to increase the contrast of the thumbnail and use colors that are like candy to our eyes. Bright but not generic colors, colors like cherry red/lime/hot pink/azure. Also maybe give complimenting colors a try :D

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

    Thank you very much

  • @petermoss7387
    @petermoss7387 2 ปีที่แล้ว

    I’ve been looking for this solution for years

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

    Great work!! Quick question, the code in this doesn’t line up with the code in the other video. I was wondering what video you have that goes through the shooting timing and such that lines up with the code used in this video? I have your coarse and looked through that but didn’t find the reference.

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

    Hey CodeMonkey, first of all great video! I'd love to learn more about the 2D bones, rigging (skinning) using built-in editor (when using PSB format). Most of the videos usually explain the 3D way which is slightly different and your videos are always in-depth with awesome examples so do you have any existing ones here or in any of your courses? I already bought the ultimate course but I'm having hard times finding this exact thing 😅

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

      Yeah rigging a character in 2D is a completely different tool docs.unity3d.com/Packages/com.unity.2d.animation@9.0/manual/CharacterRig.html
      It's something I've had on my list for a long time but haven't covered it yet, haven't done much 2D specific things in a long time

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

    I'm thinking about making all sorts of action games where this can come in handy😊🎉

  • @xadierz1816
    @xadierz1816 2 ปีที่แล้ว

    TNice tutorials is going in my helpful tutorials playlist.

  • @kaimodo1366
    @kaimodo1366 3 ปีที่แล้ว

    Could you maybe make a little Tutorial on adding Google account to a Game for e.g. saving Highscores, or even better, a semi-multiplayer high score where the game itself is singleplayer, but the high score of all players could be seen, maybe with firebase? as always, keep up your good work.

  • @fernandolopes1114
    @fernandolopes1114 2 ปีที่แล้ว

    tNice tutorials, good luck- you'll go far

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

    Don't forget to attach the Rig to the aimRig in the inspector.

  • @freezinfire
    @freezinfire 3 ปีที่แล้ว

    Awesome tutorial.

  • @rrahll
    @rrahll 3 ปีที่แล้ว

    Thank you! Interesting)

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

    Your starting scene had a player that could move including animations, do you have a tutorial on that, or a course in which you make that.

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

      The basic movement I covered in the Unity starter assets video unitycodemonkey.com/video.php?v=jXz5b_9z0Bc
      And the shooting logic in the 3rd person shooter video unitycodemonkey.com/video.php?v=FbM4CkqtOuA

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

      @@CodeMonkeyUnity thanks

  • @iLikeCoffee777
    @iLikeCoffee777 3 ปีที่แล้ว

    This would also probably be useful for character that uses binoculars or a rifle scope. Especially if that character needs to be seen by other characters.

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

    Where did you get these awesome character locomotion animations?

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

    This is probably the best Third Person aiming tutorial available anywhere, either free or paid . BUT, I keep coming across a problem where if an object (ie an enemy) comes between the gun and the camera, my character tried to shoot backwards and everything breaks for a second..... I have seen a very complex solution to the problem, but wondered how you would approach it ....

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

      The super simple solution is just add a distance check, if the enemy/target is too close then disable the IK aiming or make the weapon aim straight down. It's up to you if you want to allow the player to shoot when so close or not, some games allow that and some dont

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

    5:24 Problem, and it's a bizarre one: The transformation gizmo is not snapping to the spine when I select it. Instead it stays on/snaps to the right hand again. Any idea why it would do this, and how do get around it?
    EDIT: Deleting that cube object that was a child of the right hand seemed to fix it.

  • @rsrivishwanath6724
    @rsrivishwanath6724 2 ปีที่แล้ว

    thank you so much

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

    This was a quite good tutorial! Thanks for this :) Furthermore i have one question you may have done a tutorial to: In some first person games (such as muck for instance) the object held by the player moves (or is animated) in a very natural way and when you change your direction (ver and hor) the object moves with a slight delay which makes the movement very nice. Have you done a tutorial on how to do this or do you have a keyword for this?

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

      That's pretty much the same thing as in this video, using Animation Rigging IK, and then you apply that delay in the code. Basically have some logic that smoothly interpolates the transform that the weapons is pointing at slowly behind the camera movement.

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

      @@CodeMonkeyUnity Since my character only uses one arm to hold a weapon i am not sure which constraint to use? I tried two bone ik constraint and it kinda works but not really good. It looks like i have 10 fps :D Or should i use the one you used in the video? The delay works tho :)

  • @momkey8797
    @momkey8797 3 ปีที่แล้ว

    Hi, Code Monkey👋 I have an idea that you can try to start making some devlogs, because most of the gamedevs do that and I found it interesting. I hope you'll read my suggestion. Thanks for tutorials💪

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 ปีที่แล้ว

      Yup whenever I start working on my next Steam game I'll definitely be doing some devlogs

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

    U so good, thanks u bro

  • @thomascircle245
    @thomascircle245 5 หลายเดือนก่อน

    Can you please explain how to get out of this constraint system smoothly to play eject and reload animations that line up correctly with the weapon? I've had trouble reconciling those, knowing what order to disable and play animations, whether to use animation or another constraint to grab the magazine, etc.

  • @goodsonguitars
    @goodsonguitars 3 ปีที่แล้ว

    so is the raycast script on the Target Transform your putting in the animation rig towards the end? I am using this on the end result of your video on the third person shooter. Excellent stuff, I have learned many things from you.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 ปีที่แล้ว

      Yes the transform that is moved to the mouse position is what is used as the target for the rig

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

    Amazing! 🙏 Just one thing. Would it be too much to ask you to change your VS theme to dark mode? Unity is fine-(ish) but the VS editor is SO WHITE the photons destroy ones eyes 👀

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 ปีที่แล้ว

      Sorry I cant, dark mode burns my eyes

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

    Hey do you have a link to the new code you added to the thirdperson shooter controller? Its alot different from the first video with new methods 11:41

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

      I just refactored it to match my coding style. I don't remember if the downloadable project files for the third person shooter already have that refactor, if not then the Ladder video should have it unitycodemonkey.com/video.php?v=44qVzrdvm04

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

      @@CodeMonkeyUnity thanks

  • @ruslanagadzhanyan2753
    @ruslanagadzhanyan2753 3 ปีที่แล้ว

    I think you covered almost all of it your previous video on the topic, however I would rather see how you would implement the function of aiming through the scope in this set up, I am trying to achieve this but constantly facing different issues.

  • @lime_68
    @lime_68 3 ปีที่แล้ว

    Great stuff, was waiting for you to make this tutorial. How can I change weapon hand placement by code for different weapons? It is a bit tedious to do everything by hand.
    Also where did you get the shooting particles? They look awesome!

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

      You would just need to store the position and rotation of the IK targets, perhaps on the same SCriptable Object that you define the weapon stats. Then when changing weapon, change the weapon mesh and reposition those targets.
      I made the particles, its just a simple TrailRenderer with a bunch of glow and some exploding particles at the end, they're quite simple, the visuals are all about the post processing

    • @lime_68
      @lime_68 3 ปีที่แล้ว

      @@CodeMonkeyUnity Thank you very much. this topic is not covered much nowadays. Do you know which other topic got me frustrated? Ledge climbing(like climbing on the wall, or jumping over object like in GTA /Assasin's creed for instance)this topic is not covered on youtube well. All tutorials that I find about this topic are bad. I believe you can fill the void

  • @FREEZA_AKA_MR_COOLA
    @FREEZA_AKA_MR_COOLA 2 ปีที่แล้ว

    Great work I want to make something more like risk of rain 2 where the character can always shoot in third person mode with out aiming for you have a tutorial on that?

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

    Loved the tutorial! how do you get the projectile/bullet to look like that exactly? trying to make it in my game so that it looks like theres "tracer" fire from projectiles :)

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

      The visual is mainly just a TrailRenderer with some nice glow th-cam.com/video/bkPe1hxOmbI/w-d-xo.html
      For the movement, the character does a raycast to find where the bullet will hit, then spawns the bullet object on the shoot position and that object (which has the trail) simply moves towards the target and destroys itself. No physics used in the bullet itself

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

      @@CodeMonkeyUnity Ohhhh!!! thank you so much! slowly getting there c: your videos are a big help!

  • @1404alexandre
    @1404alexandre 2 ปีที่แล้ว

    I was also exactly having the sa expressions LMFAO

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

    could you do a video on a third person camera using cinemachine

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

      The basis for this character is from the free starter assets, you can look at that to see how the camera works th-cam.com/video/jXz5b_9z0Bc/w-d-xo.html

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

    when i need something you got it :D

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

      Heh that's great, I'm glad you find the videos helpful!

  • @stalkerkk
    @stalkerkk 3 ปีที่แล้ว

    Please make one tutorial on full body fps.. Using Animation rigging package, how head stablize with mouse movement

  • @Private_Duck
    @Private_Duck 3 ปีที่แล้ว

    What if you want to pick up the weapons though. I started working on something like that, but with hand placement. It didnt worked well. This video makes me wanna go back to it

  • @AlexCyber-t8m
    @AlexCyber-t8m ปีที่แล้ว

    I want to learn to make my character shoot like yours. How do we do that? I've followed all videos related to 3rd person shooters but there isn't one with how you put the audio, the shooter effect such muzzle and the projectile

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

      I covered the projectile in the Third Person shooter video unitycodemonkey.com/video.php?v=FbM4CkqtOuA
      The particles, you spawn them on the same place as the bullet
      The audio, you just spawn an audio clip unitycodemonkey.com/video.php?v=QL29aTa7J5Q

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

    4:44 Works sort of but the hand/cube child rotate awkwardly on the start so they no longer look like they're connecting to the target. Might this be an effect of using a different animation?
    EDIT: Figured out the issue. It was that my model's hand local wasn't the same so I had to set
    its aim axis to -Y and its Up Axis to -X.

  • @jhhh9106
    @jhhh9106 2 ปีที่แล้ว

    Hello code monkey i have one question. How camera shake beautifully can you make the video on this topic.
    Thanks

  • @katarzynastepczynska6977
    @katarzynastepczynska6977 2 ปีที่แล้ว

    it work on my pc thx bro vеry much

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

    Sir could you please make a tutorial based on auto aiming like in multiplayer games like pubg ,free fire

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

    Do you think you can make an Ik tutorial on how to walk up stairs

  • @QuietStudiosOfficial
    @QuietStudiosOfficial 3 ปีที่แล้ว

    hey there! was wondering if you'd be able to make a tutorial on how to make a realistic HDRP enviroment with a forest and a path? :)

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 ปีที่แล้ว

      Check out the channel Sykoo, he does a bunch of level design timelapses

    • @QuietStudiosOfficial
      @QuietStudiosOfficial 3 ปีที่แล้ว

      @@CodeMonkeyUnity sure thing 👍 though if possible I'd be in need of detailed videos explaining some stuff I've been having trouble implementing instead. such as grass or realtime snow deformation without losing performance etc. Good video as always by the way.

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

    I wanna do the same with the gamepad rightstick but seems buggy, can you do a tutorial for similar scenario but with a Gamepad??

  • @cloudyjb5920
    @cloudyjb5920 3 หลายเดือนก่อน

    Is there anyway to implement walking backwards (playing walking backwards animation) while still facing forward?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 หลายเดือนก่อน

      Sure, you can use an Avatar Mask to play a walk backwards animation just on the legs and leave the upper body intact

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

    You're aiming with your hand. But how to improve this example to really aim with gun's barrel?

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

      As long as the gun is positioned correctly those two are the same. You could aim with the weapon directly but then the hand will look weird

  • @christopherfoster6105
    @christopherfoster6105 2 ปีที่แล้ว

    I made it all the way to the end and I can't get the aimRig component in. Will there be a final video based on the final script? I really want to polish this for my class!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 ปีที่แล้ว

      What exactly can't you do?

    • @christopherfoster6105
      @christopherfoster6105 2 ปีที่แล้ว

      @@CodeMonkeyUnity My character’s rig is turning when the aim is behind the character and I want it to not turn like yours.

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

    Hi if possible can you tell me about animtion asset you used for shooting

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

      It's from this pack assetstore.unity.com/packages/3d/animations/rifle-pro-mocap-animation-pack-46160?aid=1101l96nj

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

    in the mouse thing to make the target move with the mouse, you didnt explaine how to do it to work if you aim at the sky

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

      You place an invisible collider in the sky and it will hit that collider, I covered that in the third person shooter video before this one th-cam.com/video/FbM4CkqtOuA/w-d-xo.html

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

      ​@@CodeMonkeyUnitythank you it was my mistake❤️❤️❤️

  • @jesuslover8541
    @jesuslover8541 2 ปีที่แล้ว

    Can you please make a video teaching us how we can make wall running for third person

  • @SecureGames
    @SecureGames 2 หลายเดือนก่อน

    you just declared the field aimRig how will the aimRig referenced in the code it will be automatically assigned ?

  • @acropolise2945
    @acropolise2945 2 ปีที่แล้ว

    Can you maybe upload this project? I can't have the animation rigging set up nicely... it is so broken for me and I can't find any solution, having access to this will help me so much

  • @danykalifornya5640
    @danykalifornya5640 3 ปีที่แล้ว

    Hello! I just bought one of your course today I haven't started yet but I'm wondering if the third person controller and the aim system could be use in a topdown game

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

      Yup! And since in top down you don't really care about the Y axis then you could stick with the simplified third person controller which would be even easier

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

    One of the more confusing tutorials I have seen on this topic, although in general I really like Codemonkey's tutorials. I have followed the third person shooter controller tutorial diligently, but there is a huge gap on where that left off and where this starts. We didn't have a weapon there, and the character is just swinging their arms around when walking. I do not understand at all where this vid is supposed to start - what animations need to be in place? From where? It is definetly not the free unity 3rd person controller neither the pistol idle animation we downloaded in the previous one.

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

      The weapon is just a mesh placed on the child of the hand bone, that's it
      Not sure what you mean by "swinging their arms around when walking", that's just the walk animation?
      You use whatever animations you want, if you want a pistol animation then use that same pistol animation, if you want a rifle animation then you need a rifle animation. There's tons of animation packs on the asset store, or alternatively look for some free ones on Mixamo.

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

      @@CodeMonkeyUnity thanks man! what I meant is the previous video of the series finished with a different character model, that is in a different default pose, has different animation set, and is without a weapon - I tried adding a weapon as a child and rotate it around, but the robot had a V shape at the start, and also the gun never got a blue bone rig like in yours - and in idle state behaved differently too as the animations I found online were different. And as a beginner this made me look for a different tutorial altogether, as I couldn't recreate your starting state in like 2.5 hours. This also included quite some time until I figured out that I need to configure the imported aim animation to have rotation Original and baked into the pose. I always found your tutorials easy to follow, so thats why I mention it here! have a great day!

  • @ilias-tompoulidis
    @ilias-tompoulidis ปีที่แล้ว

    But how do you know that the hand points exactly where the tip of the gun points?