So on the screenshot you can see the window is at arrow 1 and arrow 3 shows that his height is 2.3 because he jumped. When i move the gamewindow to arrow 2 he only jumps 1.3??? And he seem to move slower too but not sure about it and idk how to find it out
The Jumping Script
RaycastHit hitInfo;
onGround = Physics.Raycast(transform.position + (Vector3.up * 0.1f), Vector3.down, out hitInfo, 0.12f);
anim.SetBool("onGround", onGround);
if (Input.GetAxis("Jump") > 0f && onGround)
{
Vector3 power = rigid.velocity;
power.y = jumpPower;
rigid.velocity = power;
}
rigid.AddForce(new Vector3(0f, extraGravity, 0f));
This is just a small thing but it bothers me so hard. I am totally new to Unity. Everyone trying to help me i appreciate you very much!
