I use this code: rigidbody2D.AddForce (new Vector2 (0f, jumpForce), ForceMode2D.Impulse);
to make character jump. How can I calculate jumpForce needed to make the character jump twice as high. It’s not
jumpForce*2 BTW.
Of course it isn’t. The longer you stay in the air, the longer gravity has to accelerate your character.
To make this easier on me: Read this
Distance = Desired jump height
Acceleration = Gravity (9.8)
You want to find how long it takes gravity to accelerate the character from max jump height down to the ground. Then, directly multiply that with Gravity to obtain the velocity reached at ground level.
Point that velocity straight up. That’s how fast you should launch the character off the ground to reach your desired jump height.