ok but what I never understood was the purpose of the 2D collider. When I used it the character kept falling down when I did center it and I pressed a move key instead of moving left to right he fell down as if pressing a or d was to throw him down.
I removed the 2D collider and just used 1 box collider.
You have a million things to learn, you cannot start a new thread every time you don´t know something. Like I said in 2 of your other threads. Work your way through the make-a-game tutorials on the Unity Learn website, then follow some of the make a game tutorials on youtube. There are going to be a million things you don´t understand the first time you see them. When you see something like ´rigidbody´ and 2D collider and you don´t understand what they are doing, look for the video in the Unity Learn section (at the bottom). Very good and short videos on those two topics can be found in the physics section.
ok I just checked out the Unity Tutorial section, wow I had no idea it was this good. Never seen any developer this dedicated to something before this is unbelievable. I am gonna switch to Unity learn instead of these youtube videos. Its much better on this site for learning.
The reason I didn’t bother before is because official documentation generally sucks but who knew Unity was this damn good. These guys really put effort into this community.
When people tell you to go check learning section and give you the link to it, they actually mean it and are not just showing you the door in a roundabout way.
Go through the 2D UFO tutorial. It doesn’t take to long and you will discover that most likely your issue is the character was being affected by gravity.
Yep, like I said, the best way to get started is to do all of the Unity make-a-games in order of difficulty. Do not be tempted to skip ahead just because one of them is closer to what you want to actually make yourself. The truth is that making a game is making a game… and everything you learn in those easy games will be useful in the later tutorials. Start with roll-a-ball. seriously. finish making that game, then go in and make some tweaks to it… then move onto the next game. None of them take very long except for maybe the last one they just added ( adventure game)… Start with the easy stuff.
When we reply to every new users thread with ‘try the learn section’ we aren’t joking. The official learn section really is the best place to learn Unity.
Go to YouTube only after you have exhausted all of the learn section material. This ensures:
You know enough to judge the quality of a tutorial yourself.
You know enough not to get confused when the channel skips a step
Random YouTube videos are great for exploring specific concepts that aren’t in the learn section or documentation. (Like my Drag and Drop video which shows a technique not explicitly described in the docs.) But they are not intended to replace the docs.
^ You are right am doing Unity learn and literally everything is being answered. I guess old habits die hard, the old ways of using first result from a youtube search with most views.