Im trying to make some kind of a 2D game as a learning project. I’ve tinkered a bit with the movement, and I’ve figured out the forwards and backwards motion with a rigidbody.
Now I’m trying to get the rigidbody (just a cube) to make a jump, but as I modified the drag to make the forward/backward motion more smooth, the jump also gets a drag, making the fall down REALLY slow lol.
I dont really know how to get around this, does any guru have some sympathy with me and want to help hehe?
Here is my code.
TL;DR
How to make the rigidbody fall faster, without reducing the drag so my forwards and backwards motion doesnt get screwed.
Okay, I increased the jump height, and tinkered a bit with the mass and drag of the rigidbody, it works like a charm now.
Still got the flying fast as hell in midair. How can i make it so that if i use w+a or w+d at the same time, it wont move back and forth? Or just something that makes it unable to move while in midair, and only when on the ground?