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