restored Gravity

This commit is contained in:
MrGadget1024 2023-01-26 11:34:14 -05:00
parent 3a9eac8e04
commit 973ee34850

View File

@ -169,8 +169,7 @@ void HandleJumping()
jumpSpeed += Physics.gravity.y * Time.deltaTime;
}
else
jumpSpeed = 0f;
//jumpSpeed = Physics.gravity.y * Time.deltaTime;
jumpSpeed = Physics.gravity.y * Time.deltaTime;
}
#else
@ -185,7 +184,7 @@ void HandleTurning()
// Headless client forced to ground
void HandleJumping()
{
jumpSpeed = 0f;
jumpSpeed = Physics.gravity.y * Time.deltaTime;
}
#endif