Rotate a game scene preserving all physics ,Rotate scene preserving all game structure (physics)

Hello all,

I am developing a game in landscape
Movement is from left to right

Could you please help me in these 2 moments:

  1. Is there a way to “rotate” the scene/canvas so the movement is perceived not from left to right, but from down to up (the gravity would shift from the floor down, to the right wall)
  2. In landscape, the floor is the point of gravity (object falls down), when I would turn the canvas (as in step 1) the gravity fall will be basically to the right. Is there a way that at each start, the game would mirror the scene where the “gravity wall” would be either left or right.

Gravity is a Vector3, so you can point it in any direction you wish. See Physics.gravity in the scripting documentation.

Now if you want to smoothly rotate it over time instead of instantly setting it to a new value, you can Vector3.Lerp from one vector3 to the next in a loop.