I am working on my first game ,which is a 2D platformer, and its being coded in CSharp. My player character was given a Rigidbody2D and when I went to go code the movements for the player it didn’t work.
Now, I was following instructions to a tutorial I followed for 2D platformers and I noticed the problem. I noticed that there was a bit of a difference with what he had and what I had. Their Rigidbody2D had a lower case “r”, they written “rigidbody2d**.velocity**”. I tried to write the same thing and it wouldn’t work. I have everything set up a similar way in my script but nothing is working for the script. Can someone please help me?