Jump and land quicker (42726)

i have a rigidbody with a box collider as my player. I dont want to use the character controller, but imitate its capabilities.
I can make my player jump by several methods. Adding to

rigidbody.velocity.y = 10;

or

rigidbody.AddForce(Vector3.up * jumpSpeed);

but they happen to jump like its on the moon or something. i want quick fast jumps and lands but only for this gameObject. AND my scale is at default (1, 1, 1)

thank you

2 Answers

2

Increase the mass on your players rigidbody.

forgot to mention that mass doesnt have any noticeable affect

dw i got it

Ok no worries, what was the solution? If it is solved, can you close the question.

Can’t you affect the physics with. Physics.gravity = new Vector(0f,-10f,0f);

This is not exact code it is untested. But I gave the whole scene negative y gravity and the character jumps faster or maybe it is just the character jumps higher. hmm…