I'm trying to make a platformer with a gimmick where on a button press the entire layout (level) is rotate by 90 degrees.
I achieved the rotation, but for some reason after the rotation the scroll to the player is not working correctly on newly rotate X axis, which is now replacing the old Y axis.
So basically there's not vertical scrolling and I can't track the player on the screen anymore.
Before rotation:
After rotation:
To rotate the level I'm doing this:
also if you want to to have a look at the project itself here's the C3P file:
https://drive.google.com/file/d/1KHpmhD_d-AUW5xzBMhEAgNf8Cv8kK7y-/view?usp=sharing
PS: I started the project from an already existing example
Any help will be highly appreciated and you will get lots of karma points for you life ^^
Thank you!