How do I ignore collision if my character is in a specific state?

I don’t know how to do it based on Material but I know how to do it using Collision Channels based on Tags or Actors or static meshes. You could indicate those walls that are a subclass of the ghostable staticmesh actor class by painting them with that material though.