My character is now going through walls when the speed is high

I updated the engine from 2019 to 2021, and now the player goes through walls when the speed is high.
If it is set to a low speed, it moves slowly, but not through walls.

here is my code

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Movement : MonoBehaviour
public float speed = .1f;

// Update is called once per frame
void Update()
    float xDirection = Input.GetAxis("Horizontal");
    float zDirection = Input.GetAxis("Vertical");

    Vector3 movementDirection = new Vector3(xDirection, 0.0f, zDirection);

    transform.Translate(movementDirection * speed * Time.deltaTime, Space.World);    



I fixed my own problem lmao

I just changed the max depenetration velocity value

But any feedback on my code would be cool