ridigbody moves when colliding

Hello. I have a rigidbody with a box collider, and some other meshes with box colliders. I’m using the WASD keys to move my rigidbody around (using transform.Translate()). When the rigidbody collides with a box, there’s some jumping. The rigidbody gets moved back one pixel. I put together a small video to demostrate my problem

How can I solve this?

When dealing with a rigidbody, you should never use transform.Translate(). Use rigidbody.AddForce() instead.

Depending on the type of rigidbody, you may require to use AddForce() instead of Translate().

Non-kinematic rigidbodies should not be moved by changing the transform properties directly. This cause a break in the simulation process, is very expensive and can have unexpected behaviour.

On the other hand, kinematic rigidbodies cannot receive forces.

Then the PhysicMaterial properties (especially bounciness) can explain the slight movement.