I want to build a 2d game where on button click you change gravity from x axis to z axis

I am sharing which helps to visualize it. Im confuse how to build the level in normal 2d map i’d simply add collider under ground tile but here the ground changes from black line to white area how to apply it.

Like this :innocent:

(Note that what the axis values should be depends on your orientation)