private void FixedUpdate()
{
if (charControl.isGrounded)
{
if (Input.GetKeyDown(KeyCode.Space))
{
jumpup.y = jumpForce * Time.deltaTime;
charControl.Move(jumpup * Time.deltaTime);
}
}
}
this code works without time.deltatime but does is very inconsistent and not smooth. With Time.deltaTime the character doesnt move at all.