My player is sometimes moving through walls :-/

I am writing a first person game. My player is in a maze and some of the walls move. The walls have box colliders and a rigidbody. My player has a capsule collider and a kinematic rigidbody. The player can’t walk through the walls. Except when they’re moving, when they will happily move completely through the player (when the player is stationary). The movement is slow and it’s definitely not the case that the walls are moving quickly through the player; there is definite contact and yet the player moves through them. I don’t want this to happen. I’m rotating the walls by changing their transform.eulerAngles. Is this my mistake?

this question has been discussed

here

here

here

and many other places.

please stop spamming.