The capsule goes in but the cube doesn't, I want the capsule to get blocked as the cube

Yes, that is the case, But I want the children(capsule) to collide too, is it possible?