1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE
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
Great 1st Video! Thanks for the great tips, too! 🙂
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!
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 :)
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 :)
Amazing and easy to follow tutorial. Thank you for this series.
Very useful and detailed content. Very timely and helpful. Thanks for this free course would share to as many people as possible
awesome, thank you! Hoping word of mouth can help get this series some views =)
Thanks this is exactly what I was looking for in my own game!
Thanks very much - great video, looking forward to the series :)
thank you sir
Thank you man
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!
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 =)
@@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” 😂
Thanks
😄 Now supporting you on Patreon too!
Thank you so much for your support man, means a ton!! :)
Waiting for the second part
Will be out very soon =)
Your the best! where did you learn c# from?
Self taught over many years
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?
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
@@spaderdabomb just watched it. Your videos are much easier to follow. Plus the scripts. You're awesome
Can i also add this to the open world game you did earlier?
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
Can you explain how How to connect the Player Controller to the camera and character controller
16:56 thanks!
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
Having an issue with lines 8 & 10. "Type or namespace 'PlayerControls' could not be found" on both lines
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
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
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 =)
@@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
@@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.
@@spaderdabomb Thanks for the hint, I increased drag to 8 and the character now stops smoothly.