I made a chain effect to let it bump into the brick wall. The wall is the passive collider and the sphere chain is the dynamic rigid body. Because it’s a brick wall, each brick should use the cube shape in collision attributes.
Shatter effect:
I used the same sphere chain to let it bumps and shatters a cube. The cube is made with a solid shatter effect. Also, the initial sleeping effect should be turned on at the beginning. There are other parameters that can affect the final result, like collision shape margin, glue-breaking threshold, and max constraints per body.
Ncloth Animation
In this animation, I constrain the cloth to the pole and then change the wind’s parameters to make the flag waves.