if (GetComponent().velocity.y == 0)
{
transform.Translate(Input.GetAxis("Horizontal") * Time.deltaTime * speed, 0,
Input.GetAxis("Vertical") * Time.deltaTime * speed);
}
// When I use this in my jump script it makes my framerate inconsistent and jittery.
↧