hi, i have this trouble with code o somethin my player when jump start fallin slow.
i sumit an imagen of the components and my code of jumping
my code is:
if((Input.GetButtonDown(“Jump”) || Input.GetMouseButtonDown(0)) && grounded == true)
{
GetComponent<Rigidbody>().velocity = new Vector3(0.0f, jumpForce, 0.0f);
anim.SetTrigger("Jump");
}
also change it to
GetComponent().AddForce(new Vector3(0, jumpForce,0));
but nothing happnes please help thanks