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.
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.
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.
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.
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.
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.
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!!
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
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.
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.
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
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 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. 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 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?
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 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 :)
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 :)
Hey im having trouble making the player jump i have done everything i can, i made the Ground layer on the Terrain, i have add the Ground Check to the player and even the Ground Mask
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?
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
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?
Hey! I watched the video, and followed the steps, but I can't jump when I am looking down (nor up). I know it is because the ground checker is following the player, and when I look down the cylinder tilts and the bottom isn't touching the ground anymore, but how do I fix that, so either the ground checker is stationary at the bottom, or that the cylinder doesn't tilt when I look up and down, just the camera, all help is welcome!? :)
im gonna put this straight. this game AMAZING! i got some basic knowledge now and i can start coding myself :D the only thing i would have wished is that you didnt make me copy a text and instead explained what the first code does :) thanks though
I got a series of error messages after copy/paste codes stating it does not recognize several names. One example: Assets\Scripts\Player Movement.cs(1,31): error CS0246: The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
I am currently having two problems. The first is that whenever you look up or down everything including the ground check rotates as well and leaves the ground preventing jumping. The second is that the movement is tied to the camera angle meaning it will try to move you up or down depending on the pitch. Is there a way to solve these problems?
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?
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.
hello i have little problem i create layer Ground and I have created too GroundCheck and I drag it to player movement and my terain have layer Ground and ground mask I have too on Ground but I don't know how is it possible that I cant jump
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!
Dude i did the whole thing once, i stopped before the part i could jump then i closed my computer but don’t worry i saved the project. I come back and everything is deleted so i spend an hour re doing it but then the ground check was bugging and wouldn’t stop disappearing, then i fixed it. but this time im stuck in 3d like i see the cylinder moving from behind. THE CAMERA WINT EVEN FOLLOW IT. idk how i made it 3fps please help.
I fixed my player character moving by itself by going to Edit -> Project Settings -> Input Manager, then removing the second Horizontal and the second Vertical which you should find around the middle of the list.
Bro, why is it that during the scene the cylinder touches the ground, but when i play the game the cylinder flies? maybe i missed one thing from you, but i don't know where i missed it, because my english is not that good tbh
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.
i did everything as said in the video, but the player starts tilting left when looking down and starts tilting right when looking up. i changed nothing in the scripts. any ideas how i can fix that?
Items will automatically drop randomly on the map, such as dry tree branches and seashells, and will return when we pick up those items and continue walking. map area? I don't know how you can guide me
When the player jumps it feels like he hits the ground then slows for a half sec then hits again. Almost like he jumps hits a ledge then slips off. It's weird to explain.
I am using Unity 2019, I have copy and pasted and follow your tutorial, when I drag the scripts into the player, and pres play, they are deleted and the player can not move anywere. Any sugestion?
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.
"You're not an owl" 17:34 made me crack. Thank you so much, what a comprehensive, engaging and informative course you've made!!
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!
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.
Thanks for making this bro, you are an absolute legend. Gonna try and get through all 40 vids.
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
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 ?
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.
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.
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 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.
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!!
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
even as a begginer, it was very easy to understand. thank you!
Amazing video, way better than bigger TH-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.
These tutorials are the best I’ve ever seen. You are a great instructor!
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
Wow you deserve more subs! I understood this video so well! Great Job 👍👍
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 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 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.
I like how this guy puts all the details in
You're just a legend keep it up:)
Love your Explanations
Great tutorial ! clear explanations and everything makes sense
Very Great and Helpful tutorial for all stages from advanced to Beginers
mouse input is actually frame independent but by putting Time.deltaTime you made it frame dependent
Such a nice explanation! I love it.
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?
Hey! Thank You so much for your tutorial, it's amazing!
i subscribed to this man because he put a lot of efforts🔥
Thank you so much for these videos, with your help I'm finally making my dream little project
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!
THIS IS AMAZING ❤ MUCH LOVE BROTHAH
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!
Thanks a lot, your tutorial is really clear ! I'll continue it ;)
Really great explanations of the code
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
This is amazing. Thanks!
7:00 you read my mind lol, i was literally thinking "I want to learn how to code too" lol
Thank you so much i love your content!
i love you man, you are the best, i love you!
Tip: On the Player, Cylinder, Mesh Renderer, Lighting, Set Cast Shadows to Off
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 :)
I found that at 10:28 ~ i was running into an issue that said "The variable groundCheck of PlayerMovement has not been assigned."
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 :)
Hey im having trouble making the player jump i have done everything i can, i made the Ground layer on the Terrain, i have add the Ground Check to the player and even the Ground Mask
Hey but when i try and play it, my camera falls to the ground. how can i fix that?
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
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?
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
i have a question how do i fix my player clipping into the floor and staying there?
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
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.
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
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 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
Thank you this is really helpful! ☺
This tutorial is really good and you explain the basics as well. so its perfectly fine for beginners.
Really Good Tutoriol. Thanks a lot
Hey! I watched the video, and followed the steps, but I can't jump when I am looking down (nor up). I know it is because the ground checker is following the player, and when I look down the cylinder tilts and the bottom isn't touching the ground anymore, but how do I fix that, so either the ground checker is stationary at the bottom, or that the cylinder doesn't tilt when I look up and down, just the camera, all help is welcome!? :)
im gonna put this straight. this game AMAZING! i got some basic knowledge now and i can start coding myself :D the only thing i would have wished is that you didnt make me copy a text and instead explained what the first code does :) thanks though
underrated youtuber
I got a series of error messages after copy/paste codes stating it does not recognize several names. One example: Assets\Scripts\Player Movement.cs(1,31): error CS0246: The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
Completely underrated!
Dude is a legend thank you so much
I am currently having two problems. The first is that whenever you look up or down everything including the ground check rotates as well and leaves the ground preventing jumping. The second is that the movement is tied to the camera angle meaning it will try to move you up or down depending on the pitch. Is there a way to solve these problems?
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?
why did i get a (Assets\Scripts\MouseMovement.cs(37,9): error CS0103: The name 'controller' does not exist in the current context) message?
Excellent tutorial😑😋
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.
I don't know if it'll be discussed later, but if the cursor doesn't move, how would a player select objects or UI elements?
hello i have little problem i create layer Ground and I have created too GroundCheck and I drag it to player movement and my terain have layer Ground and ground mask I have too on Ground but I don't know how is it possible that I cant jump
Hello, I did it like in the video, but it won't let me walk with A forward or S back or jump with Space, it opens below, dontdestroyonload
for some reason, when I jump i fall down slowly and it doesn't accelerate. Any ideas how to fix that?
Thanks for everything.
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!
As soon as I look up and down, the jump stops working. Something to do with not being grounded and the pivot of the player. Anyone got any ideas?
Dude i did the whole thing once, i stopped before the part i could jump then i closed my computer but don’t worry i saved the project. I come back and everything is deleted so i spend an hour re doing it but then the ground check was bugging and wouldn’t stop disappearing, then i fixed it. but this time im stuck in 3d like i see the cylinder moving from behind. THE CAMERA WINT EVEN FOLLOW IT. idk how i made it 3fps please help.
Thanks for 100 subscribers completed ❤🎉
How do I lock the x rotation for the player? I can't jump when facing up or down.
Did everything you did, yet my character is not jumping, but when i press S it jumps (I checked its all set to space)
i have this problem that i can't jump more than couple of times
can anyone tell me why?
is the positioning of ground check is off or sth else?
I fixed my player character moving by itself by going to Edit -> Project Settings -> Input Manager, then removing the second Horizontal and the second Vertical which you should find around the middle of the list.
I have been trying to solve the sliding for days and could figure out what's wrong. Screw Allah or Jesus I am worshiping the god of peanuts now
Bro, why is it that during the scene the cylinder touches the ground, but when i play the game the cylinder flies? maybe i missed one thing from you, but i don't know where i missed it, because my english is not that good tbh
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.
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?
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 did everything as said in the video, but the player starts tilting left when looking down and starts tilting right when looking up. i changed nothing in the scripts. any ideas how i can fix that?
yo how can I take the moues movement put only in to the camera and sync the plyer movant to the y rotation
or maybe only y rotation to the camera and then the player wont look weird
Items will automatically drop randomly on the map, such as dry tree branches and seashells, and will return when we pick up those items and continue walking. map area? I don't know how you can guide me
When the player jumps it feels like he hits the ground then slows for a half sec then hits again. Almost like he jumps hits a ledge then slips off. It's weird to explain.
Hi I have error can you help me?
UnassignedReferenceException: The variable controller of PlayerMovement has not been assigned.
I am using Unity 2019, I have copy and pasted and follow your tutorial, when I drag the scripts into the player, and pres play, they are deleted and the player can not move anywere. Any sugestion?
can your character stay on different terrain or moving between it smoothly ?
Why when i move character backward it doesn't jump? He moving with some shaking in this direction