title: Unity2d Jumping like teleport
body: <p>I am working on Unity2d <code>Sprite</code> but something is wrong: in my code when I press the jump button my character jump like teleport, it go very fast in the Up direction. The gravity is 9 and my <code>Rigidbody2D</code> mass is 1. My code is this: </p>
  
  <pre class="lang-cs prettyprint-override"><code>if(isGrounded == true &amp;&amp; moveH == 0) {
  
      if (Input.GetKeyDown(KeyCode.J)) {
  
          anim.SetBool("str_jump", true);
          //rgBody.velocity = new Vector2(0,jumpHeight);                
          //rgBody.AddForce(Vector2.up * jumpHeight);                
          transform.position = new Vector2(transform.position.x,
                                           transform.position.y * jumpHeight);
          isGrounded = false;
  
      }
  
  }
  </code></pre>