I have a simple game where the player is the standard first person controller and they navigate through a maze. The enemies in the game are simple cubes that, when they collide with you, they reset the level. The problem comes when you, the player, aren't having any input. If you was to walk into the enemy , the game would reset but walk in front of them and stay still, and you simply phase through them, leaving you unharmed. With some levels where you need timing to avoid enemies, staying still and letting them walk through you is a huge problem.
Any advice?