This project has moved. For the latest updates, please go here.

How to alter physics??

Topics: Developer Forum
Dec 26, 2011 at 1:59 PM

I am designing a game where when the user pushes a button the physics changes.
The game is in landscape and when the player pushes the button the gravity must change to the portrait side giving a better gameplay experience.
Any ideas on how to do this??

Dec 26, 2011 at 4:28 PM
Edited Dec 26, 2011 at 4:29 PM

to do what you want there is two ways:
you can change the vector of the world.gravity 
or you can create multiple worlds and change a body world(i don't know if you can do it, by the way is a good option too).

try doing it