How to create a character walking on the ceiling with motion matching ?

Hello there !
I am working on a climbing game in Unreal Engine 5.5 where the player can invert the entire world (or the character itself) to unlock new paths. The inversion mechanic involves flipping the character or the environment upside down, effectively rotating it by 180°.
I chose to invert just the character and gravity rather than the whole world to keep it fluid.

However, I am encountering difficulties with implementing this feature while keeping the animations and motion matching system seamless. The problem arises when trying to:

  1. Rotate the character or its root component smoothly without breaking the animation flow.
  2. Invert the entire world relative to the character while maintaining consistent physics, collisions and capacity to climb.
  3. Transition smoothly between the regular and inverted states.

I’ve tried several solutions but in most cases the component capsule is well up on the ceiling with the reversed gravity but the mesh stays straight and crosses the ceiling.
I also try to reverse my character’s mesh, but it tends to snap back into place, probably because of the motion matching.
I also disabled foot ik on the ceiling to avoid foot’s placements bugs.

I naively thought that a simple inversion of gravity and character in his environment would be enough to make it work correctly with only camera and input changes to do

I’m looking for solutions, If someone has any idea or if im missing obvious fixes, thanks a lot for your time !