Тёмный

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

Code Monkey
Подписаться 531 тыс.
Просмотров 160 тыс.
50% 1

💬 Let's learn how to make a character aim perfectly at a target.
🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
🎮 Get my Steam Games unitycodemonkey.com/gamebundle
🔴 RELATED VIDEOS 🔴
Awesome Third Person Shooter Controller! • Awesome Third Person S...
Make your Animations DYNAMIC with Animation Rigging! • Make your Animations D...
How to get Mouse Position in 3D and 2D! • How to get Mouse Posit...
💬 Let's learn how to make a character aim perfectly at a target.
This is essential for making a good shooter controller, without it the character will simply aim straight forward towards wherever your animation is aiming rather than aiming perfectly at the exact position in the world.
This is pretty easy to do thanks to the awesome Unity Animation Rigging package!
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!
✅ store.steampowered.com/app/12...
If you have any questions post them in the comments and I'll do my best to answer them.
🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
See you next time!
📍 Support on Patreon / unitycodemonkey
🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
#unitytutorial #unity3d #gamedev
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Other great Unity channels:
Unity - / unity3d
Brackeys - / brackeys
Dani - / @danidev
Jabrils - / @jabrils
BlackthornProd - / @blackthornprod
Sykoo - / sykootv
Jason Weimann - / @unity3dcollege
Jonas Tyroller - / @jonastyroller
--------------------------------------------------------------------
- Website: unitycodemonkey.com/
- Twitter: / unitycodemonkey
- Steam: store.steampowered.com/develo...

Опубликовано:

 

25 янв 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 335   
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
🌍 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! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FbM4CkqtOuA.html Make your Animations DYNAMIC with Animation Rigging! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LEwYmFT3xDk.html How to get Mouse Position in 3D and 2D! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0jTPKz3ga4w.html
@NordicNjal
@NordicNjal 2 года назад
So what could the reasons be if it dont work at all?
@pudgystump
@pudgystump 3 месяца назад
Where did you get the standard animations you're using?
@user-qr5dw5pj2d
@user-qr5dw5pj2d 3 месяца назад
@@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 2 года назад
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 Год назад
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 2 года назад
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 =)
@razor_h3o
@razor_h3o 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!
@gamingtipsmanolo1285
@gamingtipsmanolo1285 Год назад
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 2 года назад
I was just searching all youtube for this and I see a post notification on it from you, Thank you very much!
@MikeOlaoye
@MikeOlaoye 2 года назад
Your tutorials are so different bro! Always learn something new, even if I know some of it. Thanks
@Dominik-K
@Dominik-K 2 года назад
Thanks for this tutorial, Unity really has a lot of amazing functionality already built-in
@King.K.O
@King.K.O 2 года назад
Finally a well known developer youtuber made this.. been watching smaller youtubers tutorials and they out dated and were in a very low quality 😩
@mythillian
@mythillian 2 года назад
Thank you, I've been looking for this forever!
@dedovagency
@dedovagency 2 года назад
Wow Ive been doing my own game and this tutorial comes out and saves me ages! Thank you so much!
@FahadAkash
@FahadAkash 2 года назад
I love your every tutorials video 😍
@rahulkumarmahato6974
@rahulkumarmahato6974 2 года назад
Perfect, I was looking for this
@nixonscherbarth1974
@nixonscherbarth1974 9 месяцев назад
That two videos were insanely good
@tacticalmythic7945
@tacticalmythic7945 Год назад
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]!
@franciscoalmeida6098
@franciscoalmeida6098 2 года назад
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.
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
Thanks! Best of luck in your learning journey!
@franciscoalmeida6098
@franciscoalmeida6098 2 года назад
@@CodeMonkeyUnity thank you 😊
@SteveTheExploiter
@SteveTheExploiter 2 года назад
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.
@SirSnowman
@SirSnowman 2 года назад
awesome tutorial, thank you!
@amirtop335
@amirtop335 Месяц назад
ty the best tutorial ever all is working
@VonchkynProduction
@VonchkynProduction 2 года назад
Thank you for such a useful tutorial
@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.
@allansimpson7380
@allansimpson7380 2 года назад
Great videos they always help me
@onur3759
@onur3759 2 года назад
omg this is so hard but perfect job! thank you!
@AxZelAnimations30
@AxZelAnimations30 2 года назад
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.
@supertaurus2008
@supertaurus2008 2 года назад
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 2 года назад
Thanks! I really hope you like them! Feel free to post any questions in the Q&A section!
@dpereirax
@dpereirax 11 месяцев назад
We need more of these tutorials CodeMonkey! 3D FPS Zombie Style 😎
@truth8483
@truth8483 2 года назад
OMG YOU DID IT!! THANK YOU!!
@kwanhofu2968
@kwanhofu2968 5 месяцев назад
wow this is what i have been searching for, i m so graeful to be able to watch your video, thankyou so much
@CodeMonkeyUnity
@CodeMonkeyUnity 5 месяцев назад
I'm glad it helped you!
@diyguild1327
@diyguild1327 2 года назад
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 2 года назад
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.
@user-qv6sm1xb3p
@user-qv6sm1xb3p 5 месяцев назад
hey bro please dont stop making videos like brackeys you are simply amazing
@VVIZART_STUDIOS24
@VVIZART_STUDIOS24 2 года назад
This is really easy thanks !! Even we publish our assets on the asset store
@user-mm2sw8ee3c
@user-mm2sw8ee3c Год назад
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.
@Zartoon
@Zartoon 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.
@magicamecil
@magicamecil 2 года назад
Thank you very much
@JLuke2600
@JLuke2600 Год назад
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.
@stylie473joker5
@stylie473joker5 2 года назад
You know its a good day when Code monkey posts a video
@rrahll
@rrahll 2 года назад
Thank you! Interesting)
@Bartek-6772
@Bartek-6772 2 года назад
Nice video! Could you also make tutorial for this system with multiple weapons? I think it will be very good!
@freezinfire
@freezinfire 2 года назад
Awesome tutorial.
@fernandolopes1114
@fernandolopes1114 Год назад
tNice tutorials, good luck- you'll go far
@alekjwrgnwekfgn
@alekjwrgnwekfgn 2 года назад
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.
@makasin2393
@makasin2393 3 месяца назад
U so good, thanks u bro
@salazarlee
@salazarlee Год назад
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 Год назад
Yes rig has to be in the same parent as the root -GameObject --root -head -etc --Rig --Cam
@amirhosseinmaali309
@amirhosseinmaali309 8 месяцев назад
Tnx Dud u r a hero
@24framedavinci13
@24framedavinci13 6 месяцев назад
​@@piotrgora5715 thanks GIGA CHAD
@rsrivishwanath6724
@rsrivishwanath6724 Год назад
thank you so much
@tenaciousstudios03051
@tenaciousstudios03051 10 месяцев назад
I'm thinking about making all sorts of action games where this can come in handy😊🎉
@Extremogato123
@Extremogato123 2 года назад
i have a little question, isn't related with the video, but how could it be the best way to make a parabolic movement which is mathematically accurate, im doing some simulations and tried with rigidbodies but the results weren't the expected ones
@xadierz1816
@xadierz1816 Год назад
TNice tutorials is going in my helpful tutorials playlist.
@deviltatsukai2201
@deviltatsukai2201 Год назад
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
@WildElegance-ky7jr
@WildElegance-ky7jr Месяц назад
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 Месяц назад
I'm glad the videos helped you! Smoothing can definitely help if you're going for a super fast twitch shooter
@ruslanagadzhanyan2753
@ruslanagadzhanyan2753 2 года назад
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.
@marvinsteven3874
@marvinsteven3874 2 года назад
If I were to be using a weapon system where I switch between a Handgun and a riffle, how could I setup the IK for each and then use
@jhhh9106
@jhhh9106 2 года назад
Hello code monkey i have one question. How camera shake beautifully can you make the video on this topic. Thanks
@you_what319
@you_what319 Год назад
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.
@pytchoun140
@pytchoun140 Год назад
How did you do the cinemachine impulse please when shooting ?
@Private_Duck
@Private_Duck 2 года назад
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
@fongaming101
@fongaming101 2 месяца назад
I wanna do the same with the gamepad rightstick but seems buggy, can you do a tutorial for similar scenario but with a Gamepad??
@rameezsafdar6563
@rameezsafdar6563 Год назад
Are you using freelook camera for tps view?
@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?
@iLikeCoffee777
@iLikeCoffee777 2 года назад
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.
@ArtyomBlin7595
@ArtyomBlin7595 8 месяцев назад
is this project uploaded anywhere ? The code is different from previosu tutorial.
@jakobanzengruber8688
@jakobanzengruber8688 11 месяцев назад
Where did you get these awesome character locomotion animations?
@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
@ilias-tompoulidis
@ilias-tompoulidis 11 месяцев назад
But how do you know that the hand points exactly where the tip of the gun points?
@petermoss7387
@petermoss7387 Год назад
I’ve been looking for this solution for years
@rocketshader2699
@rocketshader2699 2 года назад
You are doing god's work. Thanks. 3RD TPS Controller is hardest gameplay programming subject imho. I'm glad you made this.
@drnovetti9392
@drnovetti9392 Год назад
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
@hieptranngoc2584
@hieptranngoc2584 2 года назад
thanks
@j4tn735
@j4tn735 2 года назад
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 года назад
The basics would be just a simple weapon pickup with a trigger collider to see when the player touches it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Bc9lmHjqLZc.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)
@user-qr5dw5pj2d
@user-qr5dw5pj2d 3 месяца назад
There is only one rig in rig builder's rig layers?I put two rig in rig layers,there are two player's animation states, then there was an error : System.InvalidOperationException: The TransformStreamHandle cannot be resolved.This Exception was thrown from a job compiled with Burst, which has limited exception support.
@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
@eliaspiersig9994
@eliaspiersig9994 2 года назад
Could you please also make tutorials for a First Person Shooter? That would be great!
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
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 2 года назад
@@CodeMonkeyUnity that sounds amazing! I’m looking forward to it.
@georgetanuwidja7740
@georgetanuwidja7740 Год назад
Hello i am doing the exact same steps as the video but it keeps giving me erorrs saying this: Could not resolve 'Player/Rig 1/BodyAim' because it is not a child Transform in the Animator hierarchy. i would really appreciate some help thanks
@katarzynastepczynska6977
@katarzynastepczynska6977 Год назад
it work on my pc thx bro vеry much
@goodsonguitars
@goodsonguitars 2 года назад
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 2 года назад
Yes the transform that is moved to the mouse position is what is used as the target for the rig
@emrecanarabac852
@emrecanarabac852 Год назад
Thank´s ;)
@mahimnaimofficial136
@mahimnaimofficial136 2 года назад
Sir Plz do a tutorial on Sword and Mele Combat...Thanks
@danykalifornya5640
@danykalifornya5640 2 года назад
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 2 года назад
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
@stalkerkk
@stalkerkk 2 года назад
Please make one tutorial on full body fps.. Using Animation rigging package, how head stablize with mouse movement
@kawantrindade2459
@kawantrindade2459 2 года назад
Can you create a package from this project? with no-copyright humanoid models
@ASDER-qs6yn
@ASDER-qs6yn 2 года назад
Están muy buenos los gráficos. Lo digo enserio. No sé porque no hacen más juegos así. Podrían meter más cosas si dejan modelos de bajos polígonos.
@KENISEG
@KENISEG 11 месяцев назад
3:54 what if my downloaded rig have wrong direction? hand look at not to Z, but z+y (under 45 deg)
@thenextstep4990
@thenextstep4990 2 года назад
i have fps hand anim how to combine it with humanoid character
@user-db3wf3vr6b
@user-db3wf3vr6b 7 месяцев назад
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 7 месяцев назад
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
@mayankghanshala8488
@mayankghanshala8488 2 года назад
Hi code monkey. Your tutorial are awesome. I also took your one course in use my and it is good. I just want to know how did you make those live chat bubble peoples roaming in your live stream? I am unable to find if you have done any video on that.
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
I made a video here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-K13WnNL1OYM.html The main thing is really just sizing the background to fit the text Similar to how the tooltip works ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YUIohCXt_pc.html And then the Text Writer is also pretty easy ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZVh4nH8Mayg.html
@kaimodo1366
@kaimodo1366 2 года назад
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.
@GameDevJonathan
@GameDevJonathan Год назад
Do you think you can make an Ik tutorial on how to walk up stairs
@xianchaencari3244
@xianchaencari3244 2 года назад
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 года назад
The visual is mainly just a TrailRenderer with some nice glow ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bkPe1hxOmbI.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 года назад
@@CodeMonkeyUnity Ohhhh!!! thank you so much! slowly getting there c: your videos are a big help!
@equ3333
@equ3333 Год назад
Which animations do u use? :)
@vi4dofficial
@vi4dofficial 3 месяца назад
Could not resolve 'PlayerArmature/Rig 1/AimObj' because it is not a child Transform in the Animator hierarchy.
@DaveyProYT
@DaveyProYT Год назад
Where you get the rifle animation like rifle walk and rifle run and the rifle idle ?
@CodeMonkeyUnity
@CodeMonkeyUnity Год назад
One good place to get free animations is mixamo unitycodemonkey.com/video.php?v=c4jtyDA7vcs
@pytchoun140
@pytchoun140 Год назад
how is setup your animator ?
@user-db4qx3fy7b
@user-db4qx3fy7b 11 месяцев назад
Thank a lot. But if i want to change the targetPositionWeight in my script. How can i do it?
@CodeMonkeyUnity
@CodeMonkeyUnity 11 месяцев назад
You add the rig reference like I did at 11:35
@KushagraPratap
@KushagraPratap 2 года назад
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
@wn9521
@wn9521 2 года назад
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 2 года назад
Sorry I cant, dark mode burns my eyes
@Samael-lp3nk
@Samael-lp3nk 2 года назад
Hey first of all I would like to say thanks a lot for these awesome videos they are teaching me so much. I am stuck on a problem at 11:10 My character is doing that crazy morph thing because he is still stuck in the animation rigging state at idle. I tried to fix it with the steps you showed in this video. But I couldn't because the code is more updated from your "Awesome Third Person Shooter Controller" Video So I could implement the rig weight dynamics in the script. Is there any way to get the more updated script? Thanks again!
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
What can't you do? You just need to set the rig weight to 0 or 1. I didn't make a package for this one since it's very much based on animations which I cannot distribute. I don't remember what I changed from the other script but as long as you know when you are in aim state then you should be able to add that logic
@Samael-lp3nk
@Samael-lp3nk 2 года назад
@@CodeMonkeyUnity Thanks I can figure it out with this information! 👍
@jesuslover8541
@jesuslover8541 2 года назад
Can you please make a video teaching us how we can make wall running for third person
@RaonCreate
@RaonCreate 11 месяцев назад
is there any chance getting project files?
@lime_68
@lime_68 2 года назад
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 2 года назад
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 2 года назад
@@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
@TheShadowprototype
@TheShadowprototype 2 года назад
Maybe I was too dumb to understand, but one of my characters doesn't have a weapon (he uses his mouth to pull objects towards his mouth) and the other character has like a slingshot attached to it's arm (They're not human shaped, they're more like live toy dolls). If it's the mouth one can I skip the first weaponAim step and go to the body Aim one without trouble, also I don't have a physical target object since my aim is working with raycasts Plus: what's the Rig object you have on the start of the tutorial I pressume is from another video, do I need to do everything from that video or is just adding a component and that's it?
@CodeMonkeyUnity
@CodeMonkeyUnity 2 года назад
The Rig object is from Unity's Animation Rigging unitycodemonkey.com/video.php?v=LEwYmFT3xDk It has tons of constraint types, you just have to choose the right one depending on how your non-humanoid characters are set up
@CozyBedtimeTales365
@CozyBedtimeTales365 Год назад
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 Год назад
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
Далее
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 15 млн
Впервые дал другу машину…
00:57
100+ Linux Things you Need to Know
12:23
Просмотров 55 тыс.
How To Make A Game Alone
16:44
Просмотров 219 тыс.
[#06] Weapon pickups: Equipping weapons at runtime
23:24
Best C++ Game Wins $1,000 - Game Making Challenge
22:18
How I Made a 3D Platformer in 2D Game Engine
21:23
Просмотров 440 тыс.
How to Make a Good 2D Camera
11:38
Просмотров 388 тыс.
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 15 млн