If this isn't a major feature of your game, you might just want to have a particle effect that is bricks flying apart.
Oh, that would not work. The camera is FPS-style and you'd be about 5-10 meters from the wall, so that would look totally out of place these days. Besides, you need to be able to see through the hole / pile of stones, so that's why it has to look as realistic as possible.
But I agree that what you're basically wanting is an entire physics engine, and it is not an easy task at all.
What do you mean by that ? It's just rigid-body physics of static objects (albeit in slight movement). It's not even ragdoll (of characters) or soft-body physics/deformation.
BTW, how much more work would be needed to take that and upgrade it to support ragdoll (on characters) ? 50% ? 200 % ? I always wanted to have ragdoll, but feared the implementation costs. I hope, that once I got the rigid-body physics implemented, the ragdoll should be doable...
If it's not a requirement, I'd look for shortcuts, as this is going to take you down a large rabbithole. Though if you have the time and the tenacity, it will be a good learning experience, even if at the end of it you end up throwing away your code and using someone else's physics engine. =)
(if you're game is 2D, I highly suggest looking into box2d, it's fairly easy to integrate into an existing codebase, and is in several different languages)
I do have the time. Tenacity is something I unfortunately cannot avoid, so I'll just go with the flow...
I'm returning to my engine/game work (after a short break) and suspect to work on it for next 4-5 months during evenings.I've been postponing the physics in my engine for many years and the time has come to revisit that particular shortcoming.
I am pretty sure I will not just use someone else's physics library. If I was willing to do that, why not just jump straight to Unity ? But I'm a SW engineer, not a gui-clicker.
(if you're game is 2D, I highly suggest looking into box2d, it's fairly easy to integrate into an existing codebase, and is in several different languages)
Not sure if you're familiar with the grid dungeons, but I'm working on something similar to Legend of Grimrock. Tight dungeons, walls very close to you, high-res textures and plenty shader effects. Physics is probably the No 1 thing missing there right now.