1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • In this series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, step handling, animation, blend trees, Mecanim, Cinemachine, avatar masks, animation layers and multiplayer.
    This is a free complete course for making a player controller, I hope you enjoy it!
    ····················································································
    Project Files
    github.com/spaderdabomb/Final...
    ····················································································
    Unity Asset Store Links:
    FREE Low Poly Human - RPG Character: assetstore.unity.com/packages...
    ····················································································
    Video Links:
    Part 2: • 1ST AND 3RD PERSON CON...
    Ternary Operator: • Stop Using Simple If S...
    ····················································································
    Patreon: / spaderdabomb
    Subscribe: / @spaderdabomb
    Discord: / discord
    Twitter: / spaderdabomb
    Twitch: / spaderdabomb
    ····················································································
    Music:
    I remixed every Nintendo startup sound - Leslie Wai
    Music from #Uppbeat (free for Creators!):
    uppbeat.io/t/21-on-the-block/...
    License code: CKZKKOMCGFJE2FUP
    ····················································································
    Chapters
    0:00 Intro
    3:04 Project Setup
    6:18 New Input System
    9:16 Character Controller vs. Rigidbody
    10:35 Input System Script
    14:02 Simple Movement
    19:12 Camera Control
    25:30 Demo
  • Ігри

КОМЕНТАРІ • 49

  • @PsychoGamings
    @PsychoGamings 7 днів тому +1

    love your channel dude, this is the perfect tutorial for everything. IDK why you don't have views or subscribers. Your Work Is Top notch. Thanks for the amazing tutorial

  • @kagenmaru
    @kagenmaru Місяць тому +5

    Duuude, you inspired me so much! Stumbled upon the 5 minutes quick hits and see, that you now have a full course for free. This is so helpful, as I am trying to make a little game for my girlfriend, as a Proposal (maybe as a stroyline outcome or whatsoever). I'm really considering supporting you on Patreon, seeing that you are constantly putting new stuff out. Keep going, mad respect!

    • @spaderdabomb
      @spaderdabomb  Місяць тому +1

      Thanks! That’s awesome to hear, and I appreciate the support. Definitely check out the discord and post ur progress for the game ur making if u want :)

    • @davidpopoola3904
      @davidpopoola3904 Місяць тому

      Bro we have the same idea

    • @kagenmaru
      @kagenmaru Місяць тому

      @@davidpopoola3904 Brother, that's awesome! How are you progressing? Or how did you started your journey?

  • @FreakBrain
    @FreakBrain Місяць тому +1

    Thanks, keep doing good videos !!

  • @13venneman
    @13venneman Місяць тому +1

    Amazing and easy to follow tutorial. Thank you for this series.

  • @MagicThor_de
    @MagicThor_de Місяць тому +2

    Great 1st Video! Thanks for the great tips, too! 🙂

  • @davidpopoola3904
    @davidpopoola3904 Місяць тому +1

    Thanks a lot

  • @deathonater5
    @deathonater5 3 місяці тому +2

    Thanks this is exactly what I was looking for in my own game!

  • @HartsVarna
    @HartsVarna 3 місяці тому +1

    Thanks very much - great video, looking forward to the series :)

  • @GimhanEranda-hw4ws
    @GimhanEranda-hw4ws Місяць тому +1

    thank you sir

  • @GreeODee_Gaming
    @GreeODee_Gaming 15 днів тому +1

    nice bro

  • @HamzaHz20zH
    @HamzaHz20zH Місяць тому +1

    I love you man, you have saved me many times, thank you very much

  • @ADonmez98
    @ADonmez98 3 місяці тому +1

    Thank you man

  • @RETUTAA
    @RETUTAA 3 місяці тому +1

    Thanks

  • @yvesmichaelfernandez5645
    @yvesmichaelfernandez5645 Місяць тому +1

    Very useful and detailed content. Very timely and helpful. Thanks for this free course would share to as many people as possible

    • @spaderdabomb
      @spaderdabomb  Місяць тому

      awesome, thank you! Hoping word of mouth can help get this series some views =)

  • @goodsoldier1p1_72
    @goodsoldier1p1_72 3 місяці тому +2

    Thank you for this! I managed to get a working first person camera going but this will be a MUCH better way for me to do it! Working on transitioning from Full-Stack Development to Game Dev so these tutorials are amazing! Especially loved your 5 minute playlist!

    • @spaderdabomb
      @spaderdabomb  3 місяці тому +1

      Thanks! These will get more complex than most people would like, but I do think this will be the most in depth series on this topic available on YT =)

    • @goodsoldier1p1_72
      @goodsoldier1p1_72 3 місяці тому

      @@spaderdabomb hey I love it! My notebook is scattered with notes that I reference in the code for how it works. My wife’s response to it all is “you make my head hurt” 😂

  • @davidtourangeau
    @davidtourangeau 3 місяці тому +2

    😄 Now supporting you on Patreon too!

    • @spaderdabomb
      @spaderdabomb  3 місяці тому +1

      Thank you so much for your support man, means a ton!! :)

  • @bobby5enpai
    @bobby5enpai 2 місяці тому +1

    If you haven't, can you show us how to change the sky box to a storm, rain, or snow weather? I saw the one where you had shown how to add the particles, but if we wanted a thunderstorm, rain, and snow cycle. How can we set the sky boxes to change for that?

    • @spaderdabomb
      @spaderdabomb  2 місяці тому +1

      Hey yeah I do want to get back to that series and i plan on a more advanced weather system for the next one. I am nearly done with the player controller series so I'll be back to that soon!
      In the meantime, I do have a tutorial showing how to blend skyboxes in a shader, I would check this one out ua-cam.com/video/Mgb4b_oZ7yk/v-deo.html

    • @bobby5enpai
      @bobby5enpai 2 місяці тому

      @@spaderdabomb just watched it. Your videos are much easier to follow. Plus the scripts. You're awesome

  • @prabodashan8992
    @prabodashan8992 3 місяці тому +2

    Waiting for the second part

  • @Elroicoder
    @Elroicoder 2 місяці тому +1

    Your the best! where did you learn c# from?

  • @mycoffee1749
    @mycoffee1749 Місяць тому

    Can you explain how How to connect the Player Controller to the camera and character controller
    16:56 thanks!

    • @spaderdabomb
      @spaderdabomb  Місяць тому

      I’m doing it in the background during that part but did it fast.
      You just drag the camera/player controller in the hierarchy onto the script fields in the inspector on the right

  • @RiyukiiPlayz
    @RiyukiiPlayz Місяць тому

    Can i also add this to the open world game you did earlier?

    • @spaderdabomb
      @spaderdabomb  Місяць тому +2

      Yep you definitely can. I will also be releasing final video soon where I'll show how to do exactly this in the easiest possible way.
      For now, I show a bit about how to do it at the end of part 7

  • @Justanotherphox
    @Justanotherphox Місяць тому

    Having an issue with lines 8 & 10. "Type or namespace 'PlayerControls' could not be found" on both lines

    • @spaderdabomb
      @spaderdabomb  Місяць тому

      Did you create a PlayerControls input in your project? Then did you generate C# files from it?
      If you used the same namespace that I did when generating the C# file, you will have to enclose your class in the same namespace as I did.
      If u need more help feel free to join the discord

  • @mattg1345
    @mattg1345 3 місяці тому +1

    For some reason my player keeps moving even when I take my fingers of the keys, I've checked all the code but cannot see any issue

    • @spaderdabomb
      @spaderdabomb  3 місяці тому +1

      If you want, you can download the complete source code, I linked it to the github page in the description. You can download the whole project from github and boot it up in Unity to make sure its all working.
      Another thing you can do is go online and find a text diff program that compares two file contents. Put your file on one side and my source file on the other side to make sure they're the same.
      Also happy to help more in Discord =)

    • @mattg1345
      @mattg1345 3 місяці тому

      @@spaderdabomb Thanks I'll give that a go, I don't like to download the code as I don't learn that way, but I'll have a look

    • @spaderdabomb
      @spaderdabomb  3 місяці тому +2

      @@mattg1345 You're definitely doing it the right way by trying to recreate instead of copy. But if you can't figure it out the source code is there.
      Maybe something to do with drag if you keep moving? The drag is there to slow you down when there's no input.

    • @mattg1345
      @mattg1345 3 місяці тому +2

      @@spaderdabomb Thanks for the hint, I increased drag to 8 and the character now stops smoothly.

  • @shanealson3932
    @shanealson3932 19 днів тому

    on line 28 InputAction could not be found

    • @spaderdabomb
      @spaderdabomb  18 днів тому

      Did you try downloading the source code project on my github to compare?