How to Move Characters in Unity 3D: Built-In Character Controller Explained [#1]

  Переглядів 184,335

iHeartGameDev

iHeartGameDev

День тому

Learn how to use the built-in character controller to move your characters in Unity 3D with this detailed explanation and break down!
This beginner-friendly tutorial is a thorough explanation of Unity 3D's built-in character controller! By understanding the properties and methods available, we can learn to properly move our characters without causing issues down the line!
SUPPORT THE CHANNEL:
💛 / iheartgamedev
iHeartGameDev Merch:
💛 www.iheartgamedev.com
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅ • Unity's Animation System
✦ Like the vid? Please consider Subscribing!
bit.ly/2YdIb6j
✦ Missed out on the last episode?
• How to Move Characters...
SOCIAL:
✦ Discord
/ discord
✦ Twitter
/ iheartgamedev
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
assetstore.unity.com/packages...
⭐ And Check Out MixAndJam!
/ mixandjam
GEAR:
Lumix G7 Camera: amzn.to/3Kks1gZ
Epomaker GK68 Keyboard: amzn.to/3Ke87EB
Samson C01U Pro Mic: amzn.to/33kDdtG
LG 27" Monitor: amzn.to/3qAHFwS
Lepow 15.6" Portable Monitor: amzn.to/3287OtL
Logitech G604 Mouse: amzn.to/3A6jNV4
Audio-Technica ATH-M50X Headphones: amzn.to/3tBaeMT
X-Pen Artist 15.6 Pro Drawing Tablet: amzn.to/3FE5HLI
Apple 15in MacBook Pro Laptop: amzn.to/3AbKdFc
►TIMESTAMPS:
Intro: 0:00
Project Setup: 0:33
Adding Character Controller: 0:54
Center, Radius, Height: 1:06
What is a Character Controller: 1:33
Collider Caveat: 1:51
Min Move Distance: 2:13
Skin Width Examples: 3:09
Skin Width Explained: 3:53
Step Offset: 4:06
Slope Limit: 4:43
Unity Docs: 5:07
Detect Collisions: 5:20
Enable Overlap Recovery: 6:20
Collision Flags: 6:54
IsGrounded: 7:10
Collision Flags Are Tricky: 7:27
Velocity: 8:31
How Move and Simple Move Work: 9:01
OnControllerColliderHit: 11:38
Next Time: 12:12
Outro: 12:30
Thank you for watching! 💛

КОМЕНТАРІ: 380
@xianead18
@xianead18 3 роки тому
You will probably be the next biggest thing in Unity tutorials after Brackeys with this high-level quality content. Solid work!
@Mikelica69
@Mikelica69 3 роки тому
Yes!!!!!
@digital_comrade
@digital_comrade 3 роки тому
I'd say this is leagues beyond what Brackeys produced in terms of clarity and depth.
@xianead18
@xianead18 3 роки тому
@@digital_comrade agreed
@malachiroberts1465
@malachiroberts1465 3 роки тому
Definitely a similar style
@user-yv4gr2vf8o
@user-yv4gr2vf8o 3 роки тому
Vote for this!
@Novecento
@Novecento 2 роки тому
I'm a Unity developer since 2015 and believe me, I've seen a lot of tutorials during these years, both free and paid. I have to say yours are the best I've ever seen! Clear, concise, informative and straight to the point! I hope you'll continue this wonderful work of yours in the future because your tutorials are pure gems! Thanks a lot!
@KingRecycle69
@KingRecycle69 3 роки тому
I love this. It's always good to know how something works in programming. They should place this video on the documentation page. Can't wait for the next one!
@AlecAndersonZx
@AlecAndersonZx 3 роки тому
Fantastic quality video. I rarely see videos that explain everything super well and also give visuals that help you perfectly grasp exactly what's happening. I'm looking forward to new videos in the future!
@MJOb928
@MJOb928 3 роки тому
Awesome tutorial. Easily, by far and away the most informative and information packed and accessible unity tute I haven seen on youtube. I love how you use the side by side visual examples to explain. Keep it up and i look forward to watching more 👍
@simoncodrington
@simoncodrington 3 роки тому
Great visual breakdown of the movement controller properties mate. Perfectly explains what they do and when you'd use them. Looking forward to more great videos like this.
@michaelmcveigh9534
@michaelmcveigh9534 3 роки тому
This could not have come a better time for me. I was just struggling with some of this stuff this morning
@ognjenarsenijevic3444
@ognjenarsenijevic3444 8 місяців тому
Youre actually insanely good at explaining things, and you explained everything without overcomplicating it. Thanks
@thewightone7441
@thewightone7441 3 роки тому
Yo, this video is sick. I had to learn most of this on my own over a few years and I STILL didn't know about the collision collider flags and the character controller callback method. Great work, can't wait for the next video.
@rivix7546
@rivix7546 2 роки тому
I've just got into Unity from not programming or gamedev in 20 years, and by god your tutorials have been a god send! Ty so much.
@abhisheksuper20
@abhisheksuper20 2 роки тому
Awesome video with simple and easy to understand explanation. What's more better is your direct demonstration in the editor itself. Makes the concept very easy to understand as it can be visualized directly. Keep up the awesome work!!
@XuryGreer
@XuryGreer 3 роки тому
Really incredible timing, I was just looking for an explanation like this so I can help a friend without completely coding a character controller from scratch!
@lee1davis1
@lee1davis1 2 роки тому
Best detailed explanation of the CC I've seen. Added to my must watch playlist.
@zachklegon8849
@zachklegon8849 3 роки тому
Great breakdown of everything! This was really well edited! Looking forward to more!
@TheRyanSmee
@TheRyanSmee Рік тому
I was watching another video and this autoplayed and super I'm glad I didnt switch it off. This was such a clear and simple description of all the properties. Thank you!
@chandrahasp6697
@chandrahasp6697 3 роки тому
Great video as always! I'll be pointing any beginners to your videos from now on, as you are good at explaining fundamentals than most of the others. Cheers mate!
@metin1504
@metin1504 3 роки тому
dude i need this series, can't wait for ep. 2! keep em coming
@ZombieBowTiie
@ZombieBowTiie 9 місяців тому
I loved the nod to RoyalSkies with that Not a Problem. And I love your tutorials which, if I may, are more of a course than anything. You give an actual broad explanation to things rather than just the narrow specified task at hand. For that, I thank you
@tamilmaran4000
@tamilmaran4000 3 роки тому
I love the fact that you take your time for quality content, instead of pumping out videos continuously. Great work man. Helping a lot of people. Thanks
@tamilmaran4000
@tamilmaran4000 3 роки тому
@@iHeartGameDev That's awesome man. your tutorials are very crisp and covers everything in the component. waiting for the upcoming ones eagerly.
@sandybathwater8385
@sandybathwater8385 3 роки тому
Very well done. I have been wrasslin with this stuff (which is fun in a way) for a day. You just snapped a bunch of stuff into place. Thanks!
@erikshukhyan
@erikshukhyan 2 роки тому
So detailed and such a good explanation. Love your content, keep it up!
@erz3030
@erz3030 3 роки тому
Great stuff Nicky! You always have an excellent way of using visuals combined with your ability to convey concepts concisely. I know I speak for others that are visual learners. Cheers.
@ktmochiii
@ktmochiii 3 роки тому
seeing awesome new videos like these, makes me think how much the gamedev community has yet to grow in terms of tutorials. thanks nicky!
@plinyvicgames
@plinyvicgames 3 роки тому
this is unbelievably well made and very cleanly cut, very cool
@tenaciousstudios03051
@tenaciousstudios03051 Рік тому
Thanks for your guide on the basic built-in character controller. I'll make it a point to watch your video on the rigidbody method.
@ShayminMaster2
@ShayminMaster2 3 роки тому
Literally, just started working on a new project with this and had to deduce most of this information myself through trial and error. Thanks! You're going taking the mantle of Brackeys =]
@enzogherbi9312
@enzogherbi9312 Рік тому
still works! followed steps exactly and it works, thx a ton and keep up the awesome videos
@Ghin_Antonic
@Ghin_Antonic 3 роки тому
Helpful because I had discovered the built in character controller and was going to use it for the game I'm making with a group, but didn't know all it encompasses yet. Will be good to have all this once I finished the world building tool.
@SVAFnemesis
@SVAFnemesis 3 роки тому
I hope unity is financially endorsing you for doing all these. These are incredibly high quality works.
@chrisa9549
@chrisa9549 3 роки тому
As always, the highest quality tutorial of its kind :) thanks a lot Nicky!
@DarkParadice
@DarkParadice 2 роки тому
Awesome video and in depth explanations. Will use this as a reference to anyone who wants to learn because you explained them so well and even had a few things in there that I didn't know. I've always made my own character controllers because I better understand them and I get what I want. This was very insightful even to me and may even help speed up my process.
@iHeartGameDev
@iHeartGameDev 2 роки тому
Thanks so much for the kindness! :D I love to hear that!
@Visigoth_
@Visigoth_ Рік тому
This was an excellent video (I loved how clear the explanations were and the visual examples were great)! 😁👍
@someoneontheinternet3090
@someoneontheinternet3090 3 роки тому
Best tutorials I've seen in ages. Nice work!
@kinza7740
@kinza7740 Рік тому
firstly I would like to wish you well and to say a huge thank you for uploading these videos as they have been an invaluable resource to
@MrJwoody55
@MrJwoody55 3 роки тому
Thank you Nicky! You have the best Unity tutorials out there. Please never stop making them!
@iHeartGameDev
@iHeartGameDev 3 роки тому
More to come!
@MrAnime-kl6kn
@MrAnime-kl6kn 3 роки тому
The way you make me understand, just subscribed. Keep it up and never give up. You will be the next big youtuber in this field.
@flomoemma8547
@flomoemma8547 Рік тому
Keep em' comin' and thanks for all of the help!!
@kendavis4704
@kendavis4704 3 роки тому
Thanks for another great tutorial. Looking forward to the next episode!
@conraddugger4165
@conraddugger4165 3 роки тому
Solid stuff, man! Looking forward to the Rigidbody character controller video.
@jamasbsamia2317
@jamasbsamia2317 2 роки тому
For sure one of the best tutorials I've ever seen, perfect, completely clear with great examples, you are much much better than unity documents, I appreciate it sir.
@iHeartGameDev
@iHeartGameDev 2 роки тому
Thank you so much! Happy to hear it helps out!
@alexisfernandez8052
@alexisfernandez8052 Рік тому
Great tips!! I'll def check out more of your videos. Just started writing and making soft. I feel soft softs will help get to the next
@andiedev2671
@andiedev2671 3 роки тому
ur channel is like treasure,i could save alot time if i found it earlier haha thx for explaining all the buttons and things in detail
@tahmidshadman7922
@tahmidshadman7922 3 роки тому
Just here to appreciate what you are you doing. You tutorials are very great and easy to understanding and gives overall needed knowledge about a component. Please keep things like this for future. Thank you Very much for you efforts in making this. Also can you do tutorials over custom character controller with movement and intereact with object that would be very helpful for lot of people. I've trying to find every but nothing clear is there.
@mccrackenyt1241
@mccrackenyt1241 3 роки тому
Thank you for this video man! This videos was really helpful and awesome! Keep it up! 🔥
@therebelliousgeek4506
@therebelliousgeek4506 2 роки тому
Just keep it up man, just found your channel, subbed. Will probably binge your channel soon. Just keep making these.
@Bunnunoox
@Bunnunoox 3 роки тому
This was excellent! Very clearly explained.
@recaps_plus
@recaps_plus Рік тому
I know tNice tutorials is an old video but I’m new and thank god I finally found you . Thank you for such an amazing and helpful video ❤️
@gamedevtobe
@gamedevtobe 6 місяців тому
Great Video! Very clear and precise explanation! Keep up the good work!
@forsaken559
@forsaken559 Рік тому
OMG THANK YOU!!! I went through hours of "beginner" guides before I could find tNice tutorials and at least make a simple soft... Only video I've
@chryslerlazaro3327
@chryslerlazaro3327 Рік тому
Brilliant tutorial, thank you.
@iuridosanjos
@iuridosanjos 3 роки тому
You got a really good way on teaching and showing in an easy way what you want to. Really well editted. Congratulations. Although, care with over explanating or detailing really basic things on the next videos. It's sure really good for beginners, but can get little too slow for other people.
@ThisIsOnlyKurr
@ThisIsOnlyKurr Рік тому
THANK YOU SO MUCH THIS WAS EXTREMELY HELPFUL :D
@Dragoncro0wn
@Dragoncro0wn 3 роки тому
Subbed. Well detailed and explained. Looking forward to your next videos.
@kmyoshino
@kmyoshino 3 роки тому
Thank you again for another amazing video. Your content is nothing short of gold.
@Mr.Chand69
@Mr.Chand69 Рік тому
Thanks for sharing your valuable experience.
@csicskagyasz4270
@csicskagyasz4270 Рік тому
it worked! thank you so much!!
@freemoncodes
@freemoncodes Рік тому
This was freaking awesome. Textbook tutorial, you have my thanks
@barge489
@barge489 3 роки тому
This is great, totally going to use this for my students.
@smiley-jc4wc
@smiley-jc4wc Рік тому
HIS HELPED ME SO MUCH! THANK YOU!
@NamNguyen-uu8yq
@NamNguyen-uu8yq Рік тому
seriously helped thank you!!
@luizhenriquebarbozalindolm8612
@luizhenriquebarbozalindolm8612 Рік тому
So informative, thanks a lot!
@RainDevs
@RainDevs 3 роки тому
This is great! Excited for your next video.
@ianfarrell1182
@ianfarrell1182 3 роки тому
Looking forward to this
@_Hadda
@_Hadda 2 роки тому
Great stuff, Keep up the great work!
@ColeWithAGoal
@ColeWithAGoal 3 роки тому
This was perfect man, thanks!
@TNTCProject
@TNTCProject 3 роки тому
Well done mate, super clear!
@aa-xn5hc
@aa-xn5hc Рік тому
Fantastic tutorial!
@Tbone272
@Tbone272 Рік тому
Found myself watching your tutorials three times now, hitting the sub lol
@PhantomWolf93
@PhantomWolf93 2 роки тому
Man, your video edition is insane and your explanations awesome. Keep the hard work, i love it!
@iHeartGameDev
@iHeartGameDev 2 роки тому
Thank you so much!
@titangame0078
@titangame0078 Рік тому
Thank you dude. it works
@MrJuancho2706
@MrJuancho2706 3 роки тому
Hey Nikki! I just wanted to say that your channel deserve WAY more recognition, you explain really good, even tho im not using any of the 3D stuff unity has to offer (for now) im here to support you! Now if you are going to make a video for the 2D/Topview related thing ill be more than happy 😊. Have a nice day!
@MrJuancho2706
@MrJuancho2706 3 роки тому
@@iHeartGameDev Nice! ill be looking foward!, keep the good work! and when people in the comments say that you will become the next big thing in Unity scene they werent lying :)
@sourcelocation
@sourcelocation 2 роки тому
Excellent explanation
@jiovanniabdelmalak296
@jiovanniabdelmalak296 Рік тому
drums softing good start learning how to make your own lodies. Good luck bro!
@ivanduarte1464
@ivanduarte1464 Рік тому
Thankyou that was ready helpful.
@Patricebrouh
@Patricebrouh 3 роки тому
Yours videos are so great, so well explained. Please, don't forget a 3D Legde grabbing tutorial. Thanks
@badoli1074
@badoli1074 3 роки тому
Very well done!
@krisprofreefire5376
@krisprofreefire5376 Рік тому
what a hearty video for all beginners!
@kriptypell8851
@kriptypell8851 Рік тому
This is the best free software Ive seen. Respect.
@doc8724
@doc8724 3 роки тому
Great tuto! subscribed!!
@xxobadagamerxx8217
@xxobadagamerxx8217 Рік тому
Thanks for tNice tutorials amazin tutorial! Such a helpful one
@ptjokr3700
@ptjokr3700 Рік тому
You do great work bro. Keep it up bro.❤❤
@wesleytiago4121
@wesleytiago4121 Рік тому
thanks for this tutorial got it easy
@bishokuya7692
@bishokuya7692 Рік тому
Totally agree, bro!
@Ciapodotit
@Ciapodotit 3 роки тому
very high quality content, thank you
@changemaker9751
@changemaker9751 3 роки тому
Thanks mate .Very useful content.I am waiting another video for Animator component :)
@opcode6
@opcode6 3 роки тому
You do so much RIGHT with the way you teach. I am in awe of your tutorials!
@iHeartGameDev
@iHeartGameDev 3 роки тому
Hey thanks so much! That means a lot to hear :D
@kingdom216
@kingdom216 2 роки тому
@@iHeartGameDev what do I have to add to this to not get compiler errors? How do I change this and it's affiliate statement to fit jumping into the mix: if (isrunning && (!forwardPressed || !runPressed)) I need specific help. Thank you. public class animationStateController : MonoBehaviour { Animator animator; int isWalkingHash; int isRunningHash; int isJumpingHash; // Start is called before the first frame update void Start() { animator = GetComponent(); isWalkingHash = Animator.StringToHash("isWalking"); isRunningHash = Animator.StringToHash("isRunning"); isJumpingHash = animator.StringToHash("isJumping"); } // Update is called once per frame void Update() { bool isrunning = animator.GetBool(isRunningHash); bool isWalking = animator.GetBool(isWalkingHash); bool isJumping = animator.GetBool(isJumpingHash); bool forwardPressed = Input.GetKey("w"); bool runPressed = Input.GetKey("left shift"); bool jumpPressed = Input.GetKey("space bar"); if (!isWalking && forwardPressed) { animator.SetBool(isWalkingHash, true); } if (isWalking && !forwardPressed) { animator.SetBool(isWalkingHash, false); } if (!isrunning && (forwardPressed && runPressed)) { animator.SetBool(isRunningHash, true); } if (isrunning && (!forwardPressed || !runPressed)) { animator.SetBool(isRunningHash, false); } } }
@TheHandar_x
@TheHandar_x Рік тому
Gracias master ! Por compartir contenido y por su talento artístico ! Estoy al tanto de todos sus videos ! Saludos !
@charlesonis3484
@charlesonis3484 3 роки тому
Cool video! Keep going for it Nicky!
@akashjaiswar9437
@akashjaiswar9437 3 роки тому
Excited for the next one!!! This one was very helpful. These videos should replace unity documentation or should be embedded in them.
@davidturzak3996
@davidturzak3996 3 роки тому
This. This is how tutorials should be. I love it
@1001Reviews
@1001Reviews 3 роки тому
Best explanation on youtube
@michaelwilson8461
@michaelwilson8461 3 роки тому
Really nice coverage. There's a million "copy what I do" videos out there. They're great for getting up and running, but having an understanding of the underlying properties goes A LONG way in actually being able to tune something to your needs. Its kind of like that whole "Give a man a fish , vs teach a man to fish " thing (paraphrased lol). Nice work man. One thought though, if at all possible it would be nice if you could slow down just a little. Ive watched on about 0.8 speed just to keep from having to scrub back a couple seconds all the time. When your brain gets old it slows down lol.
@DandinXY
@DandinXY 3 роки тому
This series rules! I've been working with Unity character controllers for years, and there were things I learned in the intro video that I've never understood before. Thank you!
@alessandrodossantos235
@alessandrodossantos235 Рік тому
THANK YOU!!! You have no idea how much tNice tutorials video helps!
@JubileeCloudJMMC
@JubileeCloudJMMC Рік тому
I've seen that has actually explained it to in a concise way!
@jorgealexanderguatequemart3735
@jorgealexanderguatequemart3735 2 роки тому
Thanks !!!!! your videos area great. I'm learning a lot.
@ghostzone985
@ghostzone985 3 роки тому
Thanks for the video!
@BB-uy4bb
@BB-uy4bb 3 роки тому
Really waiting for the next video, keep it up!
@iHeartGameDev
@iHeartGameDev 3 роки тому
Thanks B B!! It’s coming! Another week or two!
@kaloqnasenov4610
@kaloqnasenov4610 Рік тому
Great video, the program works great
How to Move Characters In Unity 3D | Character Controllers Explained
9:46
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Переглядів 2,1 млн
Why Stairs Suck in Games... and why they don't have to
11:24
Nick Maltbie
Переглядів 1,5 млн
Awesome Third Person Shooter Controller! (Unity Tutorial)
36:10
Code Monkey
Переглядів 510 тис.
Move and Animate a 3rd Person Character in Unity3D
23:10
Jason Weimann
Переглядів 101 тис.
Why flat earthers scare me
8:05
Sabine Hossenfelder
Переглядів 205 тис.
Third Person Character Controller in Unity! (Mixamo & Synty Assets)
6:16
How to Climb Ladders (First Person, Third Person, Unity Tutorial)
17:09
Isometric Character Controller in Unity
12:31
Tarodev
Переглядів 75 тис.