Area where your gravity changes

Is there a possibility to make a area (like an invisible cube) like on a side of a building and when you walk into the area your gravity changes so you can walk on walls like on the floor?

Customizing gravity in Unreal is a pain in the a** because physics use one representation and the characters use another.

Character Movement Component actually manually moves the pawn downwards every frame if it is not on the ground. You can maybe create a different movement component to account for your gravity volumes, however physical objects will not be affected so if you need them too you should make another system that applies force to physical objects in the desired direction in every volume.

This might be too choppy but you could try using the trigger volume cube to turn a boolean on and off for the character when the character enters or leaves the volume, and have the character Launch Character on themselves toward the wall every Tick as long as the boolean is True.

You would also need to turn off the regular “gravity” used by character Walking movement mode or scale it to zero. and change what happens when the jump key is pressed, to launch them away from the wall instead of upward (and depending on if you rotated them somehow which is also a pain, you may need to tell it to not worry about whether their feet are on the ground)

theres actually a plugin for gravity manipulation now made by unreal Tefel, ill link the video below. the main part of the plugin is for planet gravity but theres a second part in the example project which is almost exactly what you want if i remember right.