1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE

Sdílet
Vložit
  • čas přidán 26. 06. 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
  • Hry

Komentáře • 40

  • @MagicThor_de
    @MagicThor_de Před 13 dny +1

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

  • @kagenmaru
    @kagenmaru Před 6 dny +2

    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  Před 4 dny +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 :)

    • @spaderdabomb
      @spaderdabomb  Před 4 dny

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

  • @13venneman
    @13venneman Před 14 dny

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

  • @yvesmichaelfernandez5645

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

    • @spaderdabomb
      @spaderdabomb  Před 21 dnem

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

  • @deathonater5
    @deathonater5 Před 2 měsíci +1

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

  • @HartsVarna
    @HartsVarna Před 2 měsíci

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

  • @GimhanEranda-hw4ws
    @GimhanEranda-hw4ws Před 9 dny

    thank you sir

  • @ADonmez98
    @ADonmez98 Před 2 měsíci

    Thank you man

  • @goodsoldier1p1_72
    @goodsoldier1p1_72 Před 2 měsíci +1

    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  Před 2 měsíci +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 Před 2 měsíci

      @@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” 😂

  • @RETUTAA
    @RETUTAA Před 2 měsíci

    Thanks

  • @davidtourangeau
    @davidtourangeau Před 2 měsíci +1

    😄 Now supporting you on Patreon too!

    • @spaderdabomb
      @spaderdabomb  Před 2 měsíci +1

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

  • @prabodashan8992
    @prabodashan8992 Před 2 měsíci +1

    Waiting for the second part

  • @Elroicoder
    @Elroicoder Před 29 dny

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

  • @bobby5enpai
    @bobby5enpai Před 25 dny

    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  Před 24 dny +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 czcams.com/video/Mgb4b_oZ7yk/video.html

    • @bobby5enpai
      @bobby5enpai Před 24 dny

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

  • @RiyukiiPlayz
    @RiyukiiPlayz Před 19 dny

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

    • @spaderdabomb
      @spaderdabomb  Před 19 dny +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

  • @mycoffee1749
    @mycoffee1749 Před 23 dny

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

    • @spaderdabomb
      @spaderdabomb  Před 23 dny

      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

  • @Justanotherphox
    @Justanotherphox Před 20 dny

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

    • @spaderdabomb
      @spaderdabomb  Před 20 dny

      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 Před 2 měsíci +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  Před 2 měsíci +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 Před 2 měsíci

      @@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  Před 2 měsíci +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 Před 2 měsíci +2

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