I tried to find a complete jumping script for my game (It’s just cube jumping on levels). But I don’t know c# very well… I’m more familiar with c++, and I haven’t gotten any of those jump scripts to work. I don’t know what’s wrong…
I got the cube to move upwards but that’s not the way I want it. I want the “normal” jump… like when I press space it goes up with decreasing power (because of gravity) and then it lands and I want to be able to set the height of the jump.
So please find the script attached. I made it and thought it would work but it actually the cube wont even move upwards atm.
Also… what do u think is the best way to learn c# for unity? should I start learning first c# and after I know it better start unity scripting or is there some source where I can study like “unity c#” I hope you know what I’m talking about.
If I add that fps controller, it will mess my camera up… and I want this to be like third person.
So when I try third person controller it just adds some crazy construction worker with my cubes and I have no clue how to link those movements to my Playercube
I’m currently practicing with this tutorial serie, but I want to add the jump so player can do more in the game.