Two cubes don't collide, instead they overlap

I have two cubes, I have it’s physics set to block all, and I am not simulating their physics. Why do they overlap? How do I stop them from overlapping and block it’s movement when they collide?

Some of the included meshes don’t have collision bounds set up, double click the mesh and click the “collision” button at the top to view the collision bounds, if you don’t see lines around the mesh in the viewport, you’ll need to add collision boxes to the mesh.

They have collision and it is affected when I simulate physics. Not otherwise. I want to detect hit or overlap without simulating physics

What are those boxes doing?

If it simple movable meshes, they should have something that tells them how to behave when they colliding.

In case of pawn/character its movement component, with physics objects its some solver.

But I think you move simple meshes, so to make them do something on hit/overlap, you must implement it. For example disable their movement, and restore it when overlapping ended.

You should simulate physics for them to detect collisions. My bad.