Gravity Change
VoidedSky
Member Posts: 1,095
Hi, I was wondering if it was possible to change the way gravity affects, so when you flip the ipod the gravity changes.
~Thanks
~Thanks
Comments
INSTANCES of an Actor in the Scene have access to the Scene Attributes.
(The prototype of the actor does not...)
(Double click on an actor already in the Scene to see this. You'll need to unlock it first)
As such, you could have one actor in the Scene that's just out of the view/Invisible and acts as sort of a "Gravity Controller"
You could create a global game attribute called something like CurrentGravity.
Adjusting the accelerometers on the device would adjust this value accordingly
Then have the Gravity Controller adjust the gravity of the Scene based on this global attribute.
Hope this helps!
Joe
~Thanks again
http://gamesalad.com/game/play/30518