zero gravity

This commit is contained in:
MrGadget1024 2023-01-26 11:03:00 -05:00
parent f311ba7caa
commit 21799dc856

View File

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