Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
You taught us while assuming we all have basic knowledge about Unity, but in my aspect, the course went well even with those who have zero experience in Unity. Your explanations are easy to understand and follow. Best Unity course I have ever watched so far.
No way such quality content doesn't get tons of views. Starting these series and we'll see how it goes but scrolling through your channel videos did show how much quality content you produce
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
I went into this tutorial with zero Unity, Visual Basic or C# Programming knowledge. I have very limited exposure to scripting / coding and what little I do know is only self-taught. You were clear in your explanations and instruction. The video was easy to follow and paced appropriately. I will be watching this entire series - thank you for the time and effort you put into this. Instant subscriber here.
the idea of me making a game started as a joke and now i hope and will actually try and make a game hahaha , thanks so much for all ur efforts and time , so far seems like the best tutorial i landed on
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Excellent tutorial. I am definitely a beginner with game development, and I understood your explanations so easily. Thank you for making this for people like myself. Can't wait to continue learning from you.
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
This is amazingly helpful even for a beginner! Didn't find anyone else who explained everything so well! Best Unity Tutorial on the internet... Thank you so much for your contribution!😄
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Okay, so I had the same problem where I couldn't jump if I looked down. However, I did find a solution, probably a messy one, but so far it works:D. I changed the rotation in MouseMovement to 0 on X axis Added public Transform camera and then added the rotation for camera with x and y axes. Hooked up the camera to the slot in the script (to the right, where our components are) Then try it out and move the camera so it looks good. Now you can also see your feet! Or rather... One cylindrical foot:D. Anyway, if it breaks something later in the course, I will edit the comment. Thank you Mike for such an amazing course, I am having so much fun and it's the best course I have seen for Unity!
Amazing. The player setup is indeed really basic and not ideal because that was not the focus of the series. There are so many player controllers out there, and I just provided a simple one. The problem with the jumping is because we always check if the GroundCheck is near the Ground to be able to jump. But when we rotate the player, and look down, the "legs" go up, and so does the GroundCheck, so it no longer detects the ground. Another easy solution will be to increase the GroundDistance value to something higher, this way even when you rotate, the groundCheck is still close to the ground.
Bro, the same problem I found and you described exactly what I’ve just wanted to do, but now I am sure that it is possible solution ;) In addition, I think that this solution is better than the easy one given by author, all regards. There is one more problem other than having no ability to jump looking in feet: so, imagine you jumped and immediately you are looking on your feet and pressing S button to go backwards, and because in fact your body is already rotated you will fly some time into sky looking on the ground. The same problem when you jump and look on the sky, by this you like a fly, I mean you increase your being in fly mode and you increase the jump height. That is not good at all. And that is serious problem in perspective. So the main problem is rotating of the player capsule itself, because it’s position defines where axis are located, and these axis defines our movement. Also it may cause shadow problems in future. So, as I said, I have found that the best (for now) and native solution in that case is solution with simulation of rotation of the head by the applying rotation to the camera transformation.
So its 2024 but I just started this tutorial and also starting learning game dev. I found another solution, I added a sphere as a child of the cylinder (like a head) and attached the MouseMovement script and the main camera to it instead to player directly. probably also not the best solution but it works
I simply made 2 scrips. One for the rotation of looking left and right for the player. and one for looking up and down for the camera. that pretty much solves all the issues. you cant fly, you dont fall over when looking down or up and you can jump and walk forward while looking up or down. Only issue is that it is very unproffesional i bet. But it works for me and i am the most beginner of begginers in coding and unity. Hoped this helped
the tutorial is very good and you explain everything in the script very well. this is the best tutorial i have seen in a long time! keep up the good work
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
I would HIGHLY recommend to use Unity 2019.4 for this tutorial series. I started following this tutorial in Unity 2021 and I ran into various errors later on with the importing of the Terrain tools, skybox and landscape assets. I am now redoing this in 2019 and it is very easy to follow.
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved. King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Thanks so much for the tutorial. I finished Part 1, and everything worked great. I've tried a few tutorials, and this is the first one that works well. Appreciate all your hard work!!
You should be getting paid for this, some excellent tutoring. I must admit the maths of the stuff does boggle my brain, but if it isn't something that I'd need to understand fully well... I won't complain.
thank you so much for this, you explain it so well and really show everything in detail so we really can understand what were doing and why we do it. I'm gunna keep watching all your videos they are amazing
Brother very nice tutorial I am making a new game with few coding knowledge ur voice a bit funny because ig only I hear it in a bit of Russian accent but ur explanation is too good 👍🏻
WOW, You're Amazing before this Video i dont know how about i use Unity and with Your Playlist i can make now my Own Survival Game!! Thank you very Much i subscribe now!
So the game I wanna make is an XCOM like tactical RPG, the difference being, the player would directly control their soldiers in first person VR. So ill have to learn a bit from each of your tutorials a well as find some other resources if i wanna make this happen. But starting with your videos is super helpful!
Thank you. A nice explanation of how the character movement works. Question please? Why did you use a cylinder, and not use a capsule? Also why not attach the camera movement script to the camera so the player's body doesn't move at weird angles? I'd think that would fix everyone's issue with jumping. I would think that if the z axis of the camera wasn't tied to the player and to the camera instead, the player could move forward and look left. BUT how would you then turn to a direction the camera was looking. An interesting challenge I'd think. Maybe attach the Y to the player but the X to the camera would alleviate the player body angle and still be facing in the right direction. Himmm. I'm new to Unity but not building games, so I'd like to know your reasoning please?
I found the solution for those of you who might be wondering why you can't jump! Select your player and go to your (transition) "Y" value, this has to be less than your (script) "Ground Distance" value!
@@p.rasmitadora4731 This worked for me though some people were having a separate issue, some have said later in the series there is a type of clarification. I did not catch that clarification lol
Hey, there seems to be an ongoing problem with the Pastebin website itself. However, this should not prevent you from following the tutorial because I am showing all of the scripts in the tutorial. So you can simply copy it from the video. I will try to find a better solution when I have time, because Pastebin seems to be down a lot.
Hey thanks a lot for this tutorial! Everything works, just one small thing if you could orient me the right way. When hitting play and waiting for unity to load up the scene, when it's ready and I click in it, it seems like the distance I traveled with the mouse until my click to focus the scene makes an offset with the camera on its xRotation (for the camera). So instead of staying in the middle facing forward, it rotates down. Any idea what it is?
Hey Mike! Thanks for the playlist, that's really a good one. I'm kinda person who can learn in the lab/with the apps, this is exactly what I was looking for hitting the game development since I'm already developer and am familiar with different dev environments. In this video, I'd like to point a minor detail about CheckSphere command. I am not sure but I think your illustration about this function is not valid; the position of the GroundCheck object would be the center point of the cyclinder, and it's the radius, not distance, between the ground layer and GroundObject. If I'm mistaken, sorry about that, and I'd like to learn why :) Thanks for this super playlist again :)
well i have a problem that if you look down. the position of the ground check will move with the player and i will can't jump anymore. so what i do is put the camera in the cylinder, throw the moseMovement to the cylinder and ... it work. btw thank for the videos. you are great.
When I multiplied the sensitivity by TIme.deltaTime, it made it so my sensitivity would increase when looking at too many game objects. Looking into it someone said "Input.GetAxis(“Mouse [axis]”) gives you the amount of movement provided in the last frame. As a result, it’s already being scaled relative to your framerate" so removing Time.deltaTime fixed the issue :)
I don't know if its because I'm using UNITY 2022 and the video is shown in 2019, but I cant get my character (sphere) to walk. Can someone help me out here?
Totally random question. Bit on a journey with game dev. I implemented a raycast for ground checks is that a good way to approach things, or would it be performance heavy in the long run? Experience as a programmer, but not with Unity AT ALL!
@@shia9631 using a raycast to determin if the player is touching the ground, for things like jumping/flying is a common way to do it. A single raycast will not impact performance. If you had 1000 players then it may start to stack up, depending on the complexity of the scene.
These are great videos you're putting out - I must say though I'm shocked at what you're getting with unity performance from a GeForce GTX 1070 - my RTX 3060 was crashing my laptop (due to overheating) with hardly anything started, you have double my RAM but graphics RAM the same.. I've already ordered a new machine (as i needed one anyway) That'll be on a corei9 with this card "Graphics card: Nvidia GeForce RTX4070 12GB GDDR6X" and extra base RAM so it will be fixed but indeed to see this 1070 performing as it is i guess you have some other magic sauce going on :) - Although I did notice you have a better CPU, mine was also i7 but 2.8GHz 4 cores...with that said when unity is running CPU usage remained low, Thanks again for the content anyway!
@@smokinjoe9415 If you read the comment you would see I didn't 'build' any PC but anyway my new machine performs fine on these tasks...but indeed the memory requirements for 3D design shouldn't be under-estimated.. you mention cooling - again if you read my comment i was using a laptop...now all is well :)
Hey Mike, I'm rather late to this video, but any tips for someone who is using say Dinosaur or Quadrupedal or Bipedal creatures as the character model?
I have some problems, the higher I look the higher my player jumps and walks really fast, If I look down I can only jump very low and I can only move very slow, if I look completely down my player won't move at all, do you know what the problem could be?
The Movement system tells me the error " Assets\Scripts\PlayerMovement.cs(13,5): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) " What have i done wrong?
first thank you for a good tutorial video, second i tried and realize one problem: objects *Groundcheck* will move with your player view so when you look up or look down too much you can't jump because the *Groundcheck* is no longer in the check zone. So how can we fix it?
This movement controller is very basic. A simple fix to this problem will be to increase the "groundDistance" variable, so that even when you look up or down, it will still be triggered as "grounded". A more advanced solution will be to separate this controller into 2 parts. One will be the body cylinder that will deal with movement and the second part will be a "head" to deal with the rotation. Alternatively, you can download a more advanced controller from the Unity assets store. You can find many nice and free 1st person controllers there. It will require some adjustment but not something complicated.
I followed every exact step as you, and when I put the camera under the player object, when I rotate the player, it only rotates the cylinder and not the camera. The camera just stays put. Any advice or help? Thank you!
There is a problem with this jumping mechanic though. If you are looking up or down at enough of an angle, you are not able to jump due to the entire player model rotating (along with the ground check) meaning it sees you as not technically on the ground.
hey, while i was following this video when i hit play my player starts by looking at the ground for some reason can you please explain why would this be happening
my bro had this tutorial going on for 2 years, never seen anyone put in more effort than this guy
you should consider another engine after Unity policy updating
@@HieuVu-lo6st im using unity just for the sake of following this person
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
ae
You taught us while assuming we all have basic knowledge about Unity, but in my aspect, the course went well even with those who have zero experience in Unity. Your explanations are easy to understand and follow. Best Unity course I have ever watched so far.
@pexels1479 cool?
@@sylvershelley8595 actually it's not cool
@@porridgegod42 its amazing
I gave the 69th like to your comment!
@@sylvershelley8595 yeah you're so funny bro
No way such quality content doesn't get tons of views. Starting these series and we'll see how it goes but scrolling through your channel videos did show how much quality content you produce
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
I went into this tutorial with zero Unity, Visual Basic or C# Programming knowledge. I have very limited exposure to scripting / coding and what little I do know is only self-taught. You were clear in your explanations and instruction. The video was easy to follow and paced appropriately. I will be watching this entire series - thank you for the time and effort you put into this. Instant subscriber here.
the idea of me making a game started as a joke and now i hope and will actually try and make a game hahaha , thanks so much for all ur efforts and time , so far seems like the best tutorial i landed on
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
how's it working out?
@@DolphinWantsPeace ooga booga
"You're not an owl" 17:34 made me crack. Thank you so much, what a comprehensive, engaging and informative course you've made!!
Excellent tutorial. I am definitely a beginner with game development, and I understood your explanations so easily. Thank you for making this for people like myself. Can't wait to continue learning from you.
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Thank you so much for this series!
You're one of those few youtubers, for whom I think "I'll give them money when I grow up"
I wanted to buy a unity course for 5000 Rubl, but then found your course, and left this idea. This is such good work, thanks for this diamond course!
This is amazingly helpful even for a beginner! Didn't find anyone else who explained everything so well! Best Unity Tutorial on the internet... Thank you so much for your contribution!😄
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Okay, so I had the same problem where I couldn't jump if I looked down. However, I did find a solution, probably a messy one, but so far it works:D. I changed the rotation in MouseMovement to 0 on X axis
Added public Transform camera and then added the rotation for camera with x and y axes.
Hooked up the camera to the slot in the script (to the right, where our components are)
Then try it out and move the camera so it looks good. Now you can also see your feet! Or rather... One cylindrical foot:D.
Anyway, if it breaks something later in the course, I will edit the comment.
Thank you Mike for such an amazing course, I am having so much fun and it's the best course I have seen for Unity!
Amazing. The player setup is indeed really basic and not ideal because that was not the focus of the series. There are so many player controllers out there, and I just provided a simple one. The problem with the jumping is because we always check if the GroundCheck is near the Ground to be able to jump. But when we rotate the player, and look down, the "legs" go up, and so does the GroundCheck, so it no longer detects the ground. Another easy solution will be to increase the GroundDistance value to something higher, this way even when you rotate, the groundCheck is still close to the ground.
Bro, the same problem I found and you described exactly what I’ve just wanted to do, but now I am sure that it is possible solution ;)
In addition, I think that this solution is better than the easy one given by author, all regards. There is one more problem other than having no ability to jump looking in feet: so, imagine you jumped and immediately you are looking on your feet and pressing S button to go backwards, and because in fact your body is already rotated you will fly some time into sky looking on the ground. The same problem when you jump and look on the sky, by this you like a fly, I mean you increase your being in fly mode and you increase the jump height. That is not good at all. And that is serious problem in perspective. So the main problem is rotating of the player capsule itself, because it’s position defines where axis are located, and these axis defines our movement. Also it may cause shadow problems in future.
So, as I said, I have found that the best (for now) and native solution in that case is solution with simulation of rotation of the head by the applying rotation to the camera transformation.
So its 2024 but I just started this tutorial and also starting learning game dev. I found another solution, I added a sphere as a child of the cylinder (like a head) and attached the MouseMovement script and the main camera to it instead to player directly. probably also not the best solution but it works
I simply made 2 scrips. One for the rotation of looking left and right for the player. and one for looking up and down for the camera. that pretty much solves all the issues. you cant fly, you dont fall over when looking down or up and you can jump and walk forward while looking up or down. Only issue is that it is very unproffesional i bet. But it works for me and i am the most beginner of begginers in coding and unity. Hoped this helped
I have 0 knowledge of unity and this is my first time touching the app and this tutorial is still perfect
Thanks for making this bro, you are an absolute legend. Gonna try and get through all 40 vids.
the tutorial is very good and you explain everything in the script very well. this is the best tutorial i have seen in a long time! keep up the good work
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
thank you for this series! you've helped new Developers like myself understand the language and the inner workings of the system more than you know.
I would HIGHLY recommend to use Unity 2019.4 for this tutorial series. I started following this tutorial in Unity 2021 and I ran into various errors later on with the importing of the Terrain tools, skybox and landscape assets. I am now redoing this in 2019 and it is very easy to follow.
Thanks
you should have told me im using 2022 ver
im using 2022.3...
TOO BAD IM IN WINDOWS 11
@@FuzzyPlayz-pf5dm any problems? im staring also with same version, is it going to work ?
Very easy to follow along with in this tutorial you do an amazing job at explaining everything in a way that clear and easy to follow thanks 👍
I just got to say, I'm doing game development for a class right now in uni and I have learned so much about the bear. Thank you so much.
Amazing video, way better than bigger UA-camrs game tutorials
Fantastic tutorial, keep up the good work!
Jesus Christ loves yall if yall didint know come to Christ repent non denominational King James Version John 3:16-17 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
King James Version James 4:8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
Thanks so much for the tutorial. I finished Part 1, and everything worked great. I've tried a few tutorials, and this is the first one that works well. Appreciate all your hard work!!
Because of your explanation of the RotationX I understood the axis rotation, omg I am so happy to have met your channel
Can u help me when i clicked play my player just keep falling down and down
@@Aniwtxh I can try, but my english is not the best one, how can i chat with you?
Wow you deserve more subs! I understood this video so well! Great Job 👍👍
These tutorials are the best I’ve ever seen. You are a great instructor!
You should be getting paid for this, some excellent tutoring. I must admit the maths of the stuff does boggle my brain, but if it isn't something that I'd need to understand fully well... I won't complain.
even as a begginer, it was very easy to understand. thank you!
thank you so much for this, you explain it so well and really show everything in detail so we really can understand what were doing and why we do it. I'm gunna keep watching all your videos they are amazing
You're just a legend keep it up:)
Love your Explanations
Great tutorial ! clear explanations and everything makes sense
I like how this guy puts all the details in
THIS IS AMAZING ❤ MUCH LOVE BROTHAH
Brother very nice tutorial I am making a new game with few coding knowledge ur voice a bit funny because ig only I hear it in a bit of Russian accent but ur explanation is too good 👍🏻
Such a nice explanation! I love it.
Very Great and Helpful tutorial for all stages from advanced to Beginers
WOW, You're Amazing before this Video i dont know how about i use Unity and with Your Playlist i can make now my Own Survival Game!! Thank you very Much i subscribe now!
Hey! Thank You so much for your tutorial, it's amazing!
So the game I wanna make is an XCOM like tactical RPG, the difference being, the player would directly control their soldiers in first person VR. So ill have to learn a bit from each of your tutorials a well as find some other resources if i wanna make this happen. But starting with your videos is super helpful!
Thank you. A nice explanation of how the character movement works. Question please? Why did you use a cylinder, and not use a capsule? Also why not attach the camera movement script to the camera so the player's body doesn't move at weird angles? I'd think that would fix everyone's issue with jumping.
I would think that if the z axis of the camera wasn't tied to the player and to the camera instead, the player could move forward and look left. BUT how would you then turn to a direction the camera was looking. An interesting challenge I'd think.
Maybe attach the Y to the player but the X to the camera would alleviate the player body angle and still be facing in the right direction. Himmm.
I'm new to Unity but not building games, so I'd like to know your reasoning please?
I found the solution for those of you who might be wondering why you can't jump! Select your player and go to your (transition) "Y" value, this has to be less than your (script) "Ground Distance" value!
Thanks
Though I just tried once and went to comments
@@p.rasmitadora4731 This worked for me though some people were having a separate issue, some have said later in the series there is a type of clarification. I did not catch that clarification lol
i don't see a transition Y value only position , rotation and scale
@@xbrandonHe meant to say Y position. Mine is set at 2.5 which brings the player off the ground a bit. That's normal for starting first person games.
thanks for posting this! helped me out I was having this issue. fixed now.
Thank you so much for these videos, with your help I'm finally making my dream little project
Thanks a lot, your tutorial is really clear ! I'll continue it ;)
i subscribed to this man because he put a lot of efforts🔥
Really great explanations of the code
This is amazing. Thanks!
Hey, there seems to be an ongoing problem with the Pastebin website itself. However, this should not prevent you from following the tutorial because I am showing all of the scripts in the tutorial. So you can simply copy it from the video.
I will try to find a better solution when I have time, because Pastebin seems to be down a lot.
exactly what i needed wow thank you so much
Hmm why not using a github repo for this tutorial?
Maybe using github can make it easier
ground layer doesn't work and doesn't jump
you should use gist instead
i love you man, you are the best, i love you!
7:00 you read my mind lol, i was literally thinking "I want to learn how to code too" lol
mouse input is actually frame independent but by putting Time.deltaTime you made it frame dependent
Thank you so much i love your content!
Hey thanks a lot for this tutorial! Everything works, just one small thing if you could orient me the right way. When hitting play and waiting for unity to load up the scene, when it's ready and I click in it, it seems like the distance I traveled with the mouse until my click to focus the scene makes an offset with the camera on its xRotation (for the camera). So instead of staying in the middle facing forward, it rotates down. Any idea what it is?
This is one of the best tutoria!
hi broo can you give the full project?
Hey Mike!
Thanks for the playlist, that's really a good one. I'm kinda person who can learn in the lab/with the apps, this is exactly what I was looking for hitting the game development since I'm already developer and am familiar with different dev environments.
In this video, I'd like to point a minor detail about CheckSphere command. I am not sure but I think your illustration about this function is not valid; the position of the GroundCheck object would be the center point of the cyclinder, and it's the radius, not distance, between the ground layer and GroundObject. If I'm mistaken, sorry about that, and I'd like to learn why :)
Thanks for this super playlist again :)
well i have a problem that if you look down. the position of the ground check will move with the player and i will can't jump anymore. so what i do is put the camera in the cylinder, throw the moseMovement to the cylinder and ... it work. btw thank for the videos. you are great.
When I multiplied the sensitivity by TIme.deltaTime, it made it so my sensitivity would increase when looking at too many game objects. Looking into it someone said "Input.GetAxis(“Mouse [axis]”) gives you the amount of movement provided in the last frame. As a result, it’s already being scaled relative to your framerate" so removing Time.deltaTime fixed the issue :)
This tutorial is really good and you explain the basics as well. so its perfectly fine for beginners.
Dude is a legend thank you so much
Can you explain to us how to put a character and the animations with a first-person camera please?
Completely underrated!
WOW just WOW !
Thank you this is really helpful! ☺
I have noticed that the character can not jump when looking up or down. Is this a problem with the position of the checksphere being a child?
I saw the problem is ground check object is at the bottom of our cylinder but when you look up or down your bottom goes up thus not checking the floor
I don't know if its because I'm using UNITY 2022 and the video is shown in 2019, but I cant get my character (sphere) to walk. Can someone help me out here?
Did you ever figure this out? Running into the same problem, I can look around but not move at all
@@tomharris8650 at the player movement controler has to be set to player(character controller)
@@TOESOR thx!
The best video ever
Really Good Tutoriol. Thanks a lot
This is a huge help. I'm currently working on an open world game like eso but uses for honors combat system. 😅 hopefully it works out.
Did it work out?
Excellent tutorial😑😋
You have a bug. At 35 minutes in you should normalize the Vector3 named move. You are using move as a direction, and it should be a unit vector.
Tip: On the Player, Cylinder, Mesh Renderer, Lighting, Set Cast Shadows to Off
good good good very useful!🤩🤩🤩
Thanks for everything.
LOVE YOUR VIDS
your tutorial is good keep going
Best tutorial!
Thanks, very useful!
Totally random question. Bit on a journey with game dev. I implemented a raycast for ground checks is that a good way to approach things, or would it be performance heavy in the long run?
Experience as a programmer, but not with Unity AT ALL!
@@shia9631 using a raycast to determin if the player is touching the ground, for things like jumping/flying is a common way to do it.
A single raycast will not impact performance. If you had 1000 players then it may start to stack up, depending on the complexity of the scene.
Thank you for this tutorial
thanks bro that realy helped me 😊 😊
Really good video you are a really good teacher. Can you make a day and night system?
u deserve way more then 19 subs u deserve 1000000's of subs
thanks a lot brow best tutorial
Great Tutorial but I have an AZERTY Keyboard , do you know how to change the keybind on to z for forward and q for left
we do it in project settings, there should be a Input Manager setting in it
I found that at 10:28 ~ i was running into an issue that said "The variable groundCheck of PlayerMovement has not been assigned."
These are great videos you're putting out - I must say though I'm shocked at what you're getting with unity performance from a GeForce GTX 1070 - my RTX 3060 was crashing my laptop (due to overheating) with hardly anything started, you have double my RAM but graphics RAM the same.. I've already ordered a new machine (as i needed one anyway) That'll be on a corei9 with this card "Graphics card: Nvidia GeForce RTX4070 12GB GDDR6X" and extra base RAM so it will be fixed but indeed to see this 1070 performing as it is i guess you have some other magic sauce going on :) - Although I did notice you have a better CPU, mine was also i7 but 2.8GHz 4 cores...with that said when unity is running CPU usage remained low, Thanks again for the content anyway!
That is because you lack proper cooling and also probably proper wattage on the P/S. Learn to build a pc correctly!
@@smokinjoe9415 If you read the comment you would see I didn't 'build' any PC but anyway my new machine performs fine on these tasks...but indeed the memory requirements for 3D design shouldn't be under-estimated.. you mention cooling - again if you read my comment i was using a laptop...now all is well :)
Hey, does these codes still work that you linked in the description in 2024???
@@Username-m5v yes, everything should work fine. I'm monitoring these scripts.
@ Ok
Hey Mike, I'm rather late to this video, but any tips for someone who is using say Dinosaur or Quadrupedal or Bipedal creatures as the character model?
I have some problems, the higher I look the higher my player jumps and walks really fast, If I look down I can only jump very low and I can only move very slow, if I look completely down my player won't move at all, do you know what the problem could be?
5:24 the Visual stuio wont open and it says
There is no spplication det to open the document "Player.Movement.cd".
I am on macbook pro
its i good tutorial but i have one bug when i move right or left i am faster then forward or backward how can i fix that
The Movement system tells me the error " Assets\Scripts\PlayerMovement.cs(13,5): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) " What have i done wrong?
please copy the entire line of code where you have the vector, (line 13 of the MovementScript). paste it here so I can see what is the problem.
its like i am in spectator mode and i fly around also its like the scripts create there own camera so i can see the cylinder just standing there
THE GOATTTTTTTTTTTTTTTTTTTTTTT
Nice tutorial! BTW, Euler is pronounced "Oiler"
Guess he doesn't like criticism... kind of looks stupid if he can't use the correct terminology.
first thank you for a good tutorial video, second i tried and realize one problem: objects *Groundcheck* will move with your player view so when you look up or look down too much you can't jump because the *Groundcheck* is no longer in the check zone. So how can we fix it?
This movement controller is very basic. A simple fix to this problem will be to increase the "groundDistance" variable, so that even when you look up or down, it will still be triggered as "grounded".
A more advanced solution will be to separate this controller into 2 parts. One will be the body cylinder that will deal with movement and the second part will be a "head" to deal with the rotation.
Alternatively, you can download a more advanced controller from the Unity assets store.
You can find many nice and free 1st person controllers there.
It will require some adjustment but not something complicated.
@@Mikes-Code thanks you, sir🤓
I did all of this but when I press play, the cursor does not disappear and let me look around. I also could not walk around when I pressed w, a, s, d.
I followed every exact step as you, and when I put the camera under the player object, when I rotate the player, it only rotates the cylinder and not the camera. The camera just stays put. Any advice or help? Thank you!
i have a question how do i fix my player clipping into the floor and staying there?
Thank you so much
There is a problem with this jumping mechanic though. If you are looking up or down at enough of an angle, you are not able to jump due to the entire player model rotating (along with the ground check) meaning it sees you as not technically on the ground.
one of the comments says the solution is checks
@@brom1420 The ground check rotating with the player, or the bottom half of the player model rotating is the problem.
@@SweatyCubes I've already made it so that only the camera rotates and you can jump wherever you look
@@brom1420 Is this in a future video?
@@SweatyCubes No, you can to send
your discord and I'll explain it to you
Hey but when i try and play it, my camera falls to the ground. how can i fix that?
hey, while i was following this video when i hit play my player starts by looking at the ground for some reason can you please explain why would this be happening