Turning off collisions for edges

I'm trying to create a level that's top down but has "layers" to it. I'm able to create edges(b2PolygonShape) which my box2d objects collides with perfectly...this is no problem. However, now let's say those edges represents the walls of two cliffs that face each other so while my objects are on the lowest layer, they collide with the lower portion of the cliffs. Above that, we have a bridge that crosses or joins the two top parts of the cliff...so while the objects are on the lower level, it doesn't collide with the bridge located on the upper level and can theoretically go under it.

But if I were to give the illusion that my objects climbs up a ramp to the second layer, what I want to do is turn off the collision for the edges on the lower level and turn on the collision edges for the upper layer which will essentially allow my object to collide and cross that bridge.

Is there a way to do this? I've tried to set the body I used to create the edges(b2FixtureDef) to active false but I get some really weird behaviors that renders the game unplayable. Any suggestions on how I could go about this? Thanks in advance!
I think I figured it out. Once I implement and test out my solution further and make sure it works, I'll follow up with a post on how I did it. Thanks!

Original thread: https://box2d.org/forum/viewtopic.php?t=6469