I’m using Add.Force to make my player jump. However it almost feels like the character is teleporting when it jumps. It seems like the Add.Force is adding all the force in one frame, causing this weird behavior. Is there a way to make it feel less like a teleport and more like an actual jump? I thought about making the force being more evenly distributed in the frames, but I’ve got no idea on how to do that. Any help is appreciated.
private void Update()
{
if (Input.GetKeyDown("up") || Input.GetButtonDown("Jump"))
rb.AddForce(new Vector2(0, jumpForce), ForceMode2D.Force);
}
Here is the inspector of the GameObject that I’m using as a player: