void FixedUpdate() { EggController.Move(movement * Time.fixedDeltaTime, false, false); //if (_MyRB.velocity.x > 0.1f || _MyRB.velocity.x < -0.1f) //{ // Debug.Log(_MyRB.velocity.x); // _MyRB.AddTorque(-_MyRB.velocity.x); //} }
void FixedUpdate() { controller.Move(horizontalMove * Time.fixedDeltaTime, false, jump); jump = false; }