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

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
    @xianead183 жыл бұрын

    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

    2 жыл бұрын

    Definitely a similar style

  • @user-yv4gr2vf8o

    @user-yv4gr2vf8o

    2 жыл бұрын

    Vote for this!

  • @Novecento
    @Novecento2 жыл бұрын

    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
    @KingRecycle693 жыл бұрын

    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
    @AlecAndersonZx3 жыл бұрын

    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
    @MJOb9283 жыл бұрын

    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
    @simoncodrington3 жыл бұрын

    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.

  • @lee1davis1
    @lee1davis12 жыл бұрын

    Best detailed explanation of the CC I've seen. Added to my must watch playlist.

  • @michaelmcveigh9534
    @michaelmcveigh95343 жыл бұрын

    This could not have come a better time for me. I was just struggling with some of this stuff this morning

  • @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!

  • @tamilmaran4000
    @tamilmaran40003 жыл бұрын

    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.

  • @chandrahasp6697
    @chandrahasp66973 жыл бұрын

    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
    @metin15043 жыл бұрын

    dude i need this series, can't wait for ep. 2! keep em coming

  • @zachklegon8849
    @zachklegon88493 жыл бұрын

    Great breakdown of everything! This was really well edited! Looking forward to more!

  • @thewightone7441
    @thewightone74413 жыл бұрын

    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.

  • @DarkParadice
    @DarkParadice2 жыл бұрын

    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!

  • @abhisheksuper20
    @abhisheksuper202 жыл бұрын

    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!!

  • @erikshukhyan
    @erikshukhyan2 жыл бұрын

    So detailed and such a good explanation. Love your content, keep it up!

  • @XuryGreer
    @XuryGreer3 жыл бұрын

    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!

  • @rivix7546
    @rivix75462 жыл бұрын

    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.

  • @ktmochiii
    @ktmochiii3 жыл бұрын

    seeing awesome new videos like these, makes me think how much the gamedev community has yet to grow in terms of tutorials. thanks nicky!

  • @Visigoth_
    @Visigoth_ Жыл бұрын

    This was an excellent video (I loved how clear the explanations were and the visual examples were great)! 😁👍

  • @MrJwoody55
    @MrJwoody553 жыл бұрын

    Thank you Nicky! You have the best Unity tutorials out there. Please never stop making them!

  • @iHeartGameDev

    @iHeartGameDev

    3 жыл бұрын

    More to come!

  • @someoneontheinternet3090
    @someoneontheinternet30902 жыл бұрын

    Best tutorials I've seen in ages. Nice work!

  • @erz3030
    @erz30303 жыл бұрын

    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.

  • @plinyvicgames
    @plinyvicgames3 жыл бұрын

    this is unbelievably well made and very cleanly cut, very cool

  • @chrisa9549
    @chrisa95493 жыл бұрын

    As always, the highest quality tutorial of its kind :) thanks a lot Nicky!

  • @sandybathwater8385
    @sandybathwater83853 жыл бұрын

    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!

  • @TNTCProject
    @TNTCProject3 жыл бұрын

    Well done mate, super clear!

  • @enzogherbi9312
    @enzogherbi9312 Жыл бұрын

    still works! followed steps exactly and it works, thx a ton and keep up the awesome videos

  • @jamasbsamia2317
    @jamasbsamia23172 жыл бұрын

    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!

  • @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

  • @kendavis4704
    @kendavis47043 жыл бұрын

    Thanks for another great tutorial. Looking forward to the next episode!

  • @flomoemma8547
    @flomoemma8547 Жыл бұрын

    Keep em' comin' and thanks for all of the help!!

  • @MrAnime-kl6kn
    @MrAnime-kl6kn3 жыл бұрын

    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.

  • @PhantomWolf93
    @PhantomWolf932 жыл бұрын

    Man, your video edition is insane and your explanations awesome. Keep the hard work, i love it!

  • @iHeartGameDev

    @iHeartGameDev

    2 жыл бұрын

    Thank you so much!

  • @mccrackenyt1241
    @mccrackenyt12413 жыл бұрын

    Thank you for this video man! This videos was really helpful and awesome! Keep it up! 🔥

  • @kmyoshino
    @kmyoshino3 жыл бұрын

    Thank you again for another amazing video. Your content is nothing short of gold.

  • @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.

  • @gamedevtobe
    @gamedevtobe6 ай бұрын

    Great Video! Very clear and precise explanation! Keep up the good work!

  • @ShayminMaster2
    @ShayminMaster23 жыл бұрын

    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 =]

  • @therebelliousgeek4506
    @therebelliousgeek45062 жыл бұрын

    Just keep it up man, just found your channel, subbed. Will probably binge your channel soon. Just keep making these.

  • @Bunnunoox
    @Bunnunoox3 жыл бұрын

    This was excellent! Very clearly explained.

  • @RainDevs
    @RainDevs3 жыл бұрын

    This is great! Excited for your next video.

  • @conraddugger4165
    @conraddugger41652 жыл бұрын

    Solid stuff, man! Looking forward to the Rigidbody character controller video.

  • @ThisIsOnlyKurr
    @ThisIsOnlyKurr Жыл бұрын

    THANK YOU SO MUCH THIS WAS EXTREMELY HELPFUL :D

  • @Dragoncro0wn
    @Dragoncro0wn3 жыл бұрын

    Subbed. Well detailed and explained. Looking forward to your next videos.

  • @sourcelocation
    @sourcelocation2 жыл бұрын

    Excellent explanation

  • @DandinXY
    @DandinXY3 жыл бұрын

    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!

  • @BB-uy4bb
    @BB-uy4bb3 жыл бұрын

    Really waiting for the next video, keep it up!

  • @iHeartGameDev

    @iHeartGameDev

    3 жыл бұрын

    Thanks B B!! It’s coming! Another week or two!

  • @Ghin_Antonic
    @Ghin_Antonic3 жыл бұрын

    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.

  • @opcode6
    @opcode62 жыл бұрын

    You do so much RIGHT with the way you teach. I am in awe of your tutorials!

  • @iHeartGameDev

    @iHeartGameDev

    2 жыл бұрын

    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); } } }

  • @freemoncodes
    @freemoncodes Жыл бұрын

    This was freaking awesome. Textbook tutorial, you have my thanks

  • @chryslerlazaro3327
    @chryslerlazaro3327 Жыл бұрын

    Brilliant tutorial, thank you.

  • @andiedev2671
    @andiedev26713 жыл бұрын

    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

  • @MrJuancho2706
    @MrJuancho27063 жыл бұрын

    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 :)

  • @Mr.Chand69
    @Mr.Chand69 Жыл бұрын

    Thanks for sharing your valuable experience.

  • @SVAFnemesis
    @SVAFnemesis3 жыл бұрын

    I hope unity is financially endorsing you for doing all these. These are incredibly high quality works.

  • @ColeWithAGoal
    @ColeWithAGoal3 жыл бұрын

    This was perfect man, thanks!

  • @_Hadda
    @_Hadda2 жыл бұрын

    Great stuff, Keep up the great work!

  • @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 ❤️

  • @luizhenriquebarbozalindolm8612
    @luizhenriquebarbozalindolm8612 Жыл бұрын

    So informative, thanks a lot!

  • @smiley-jc4wc
    @smiley-jc4wc Жыл бұрын

    HIS HELPED ME SO MUCH! THANK YOU!

  • @aa-xn5hc
    @aa-xn5hc Жыл бұрын

    Fantastic tutorial!

  • @NamNguyen-uu8yq
    @NamNguyen-uu8yq Жыл бұрын

    seriously helped thank you!!

  • @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

  • @terraazul1654
    @terraazul1654 Жыл бұрын

    Frrrrr tNice tutorials man just straight forward !

  • @iHeartGameDev

    @iHeartGameDev

    Жыл бұрын

    Thank you 🙏

  • @csicskagyasz4270
    @csicskagyasz4270 Жыл бұрын

    it worked! thank you so much!!

  • @tahmidshadman7922
    @tahmidshadman79223 жыл бұрын

    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.

  • @ptjokr3700
    @ptjokr3700 Жыл бұрын

    You do great work bro. Keep it up bro.❤❤

  • @Tbone272
    @Tbone272 Жыл бұрын

    Found myself watching your tutorials three times now, hitting the sub lol

  • @ognjenarsenijevic3444
    @ognjenarsenijevic34448 ай бұрын

    Youre actually insanely good at explaining things, and you explained everything without overcomplicating it. Thanks

  • @iuridosanjos
    @iuridosanjos3 жыл бұрын

    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.

  • @xvalue
    @xvalue2 жыл бұрын

    These are fantastic videos. Please keep it up. Good work.

  • @iHeartGameDev

    @iHeartGameDev

    2 жыл бұрын

    Thank you AJ! New video Sunday!

  • @barge489
    @barge4893 жыл бұрын

    This is great, totally going to use this for my students.

  • @Ciapodotit
    @Ciapodotit3 жыл бұрын

    very high quality content, thank you

  • @xxobadagamerxx8217
    @xxobadagamerxx8217 Жыл бұрын

    Thanks for tNice tutorials amazin tutorial! Such a helpful one

  • @ianfarrell1182
    @ianfarrell11823 жыл бұрын

    Looking forward to this

  • @charlesonis3484
    @charlesonis34843 жыл бұрын

    Cool video! Keep going for it Nicky!

  • @deraminator945
    @deraminator9453 жыл бұрын

    I subbed because I like your content!

  • @doc8724
    @doc87243 жыл бұрын

    Great tuto! subscribed!!

  • @TheHandar_x
    @TheHandar_x Жыл бұрын

    Gracias master ! Por compartir contenido y por su talento artístico ! Estoy al tanto de todos sus videos ! Saludos !

  • @badoli1074
    @badoli10743 жыл бұрын

    Very well done!

  • @changemaker9751
    @changemaker97513 жыл бұрын

    Thanks mate .Very useful content.I am waiting another video for Animator component :)

  • @akashjaiswar9437
    @akashjaiswar94373 жыл бұрын

    Excited for the next one!!! This one was very helpful. These videos should replace unity documentation or should be embedded in them.

  • @ivanduarte1464
    @ivanduarte1464 Жыл бұрын

    Thankyou that was ready helpful.

  • @taykufc
    @taykufc2 жыл бұрын

    Man, just want to say... You explain like a boss!!!

  • @iHeartGameDev

    @iHeartGameDev

    2 жыл бұрын

    Thanks so much mate! -Nicky

  • @kingkrygaming6669
    @kingkrygaming6669 Жыл бұрын

    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

  • @aquafinagaming9491
    @aquafinagaming94913 жыл бұрын

    Awesome cool video waiting from a long time you are op

  • @kriptypell8851
    @kriptypell8851 Жыл бұрын

    This is the best free software Ive seen. Respect.

  • @LoshanTharinda
    @LoshanTharinda Жыл бұрын

    Thank you dude. it works

  • @arionpaul6208
    @arionpaul62083 жыл бұрын

    Wow, really helpful video!

  • @JubileeCloudJMMC
    @JubileeCloudJMMC Жыл бұрын

    I've seen that has actually explained it to in a concise way!

  • @ghostzone985
    @ghostzone9853 жыл бұрын

    Thanks for the video!

  • @michaelwilson8461
    @michaelwilson84613 жыл бұрын

    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.

  • @kaloqnasenov4610
    @kaloqnasenov4610 Жыл бұрын

    Great video, the program works great

  • @krisprofreefire5376
    @krisprofreefire5376 Жыл бұрын

    what a hearty video for all beginners!

  • @1001Reviews
    @1001Reviews3 жыл бұрын

    Best explanation on youtube

  • @RaskaTheFurry
    @RaskaTheFurry3 жыл бұрын

    oh, this is very nice, this easy visual explanation, rather than digging through docs. Good job. also the move method doesnt just add the vector, it interpolates it, just so the moving is nice and smooth. and that is done by that Delta time

  • @wesleytiago4121
    @wesleytiago4121 Жыл бұрын

    thanks for this tutorial got it easy

Келесі