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

  Рет қаралды 184,337

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
Why Stairs Suck in Games... and why they don't have to
11:24
Nick Maltbie
Рет қаралды 1,5 МЛН
[실시간] 전철에서 찍힌 기생생물 감염 장면 | 기생수: 더 그레이
00:15
Netflix Korea 넷플릭스 코리아
Рет қаралды 38 МЛН
Мама и дневник Зомби (часть 1)🧟 #shorts
00:47
How to Move Characters In Unity 3D | Character Controllers Explained
9:46
Create a Third Person Controller in Unity from scratch
1:51:35
Game Dev Experiments
Рет қаралды 46 М.
SLOPE MOVEMENT, SPRINTING & CROUCHING - Unity Tutorial
8:45
Dave / GameDevelopment
Рет қаралды 195 М.
How to Program in Unity: State Machines Explained
18:56
iHeartGameDev
Рет қаралды 207 М.
Isometric Character Controller in Unity
12:31
Tarodev
Рет қаралды 75 М.