Help with 360 Tilt: one for ORBZ?
UtopianGamesLtd
Member Posts: 120
Bit stuck as i'm trying to make a ball actor accelerate in the direction of tilt.
So if you are in landscape it falls down, if you turn to portrait it falls down so it always falls towards the player holding the device (hope that's clear).
I tried setting up a few rules like.
If game.screen.device.Orientation is Landscape then landscape (boolean=true) if landscape = true then Rule Accelerometer Y > 0.05 and so on but it doesn't work as expected and my iPad struggle to switch Orientation fast enough and even when it does it's buggy.
Is there an easy way to have an actor change gravity depending on Tilt but always pulling down?
Imagine a 360 platform game.
Darren.
So if you are in landscape it falls down, if you turn to portrait it falls down so it always falls towards the player holding the device (hope that's clear).
I tried setting up a few rules like.
If game.screen.device.Orientation is Landscape then landscape (boolean=true) if landscape = true then Rule Accelerometer Y > 0.05 and so on but it doesn't work as expected and my iPad struggle to switch Orientation fast enough and even when it does it's buggy.
Is there an easy way to have an actor change gravity depending on Tilt but always pulling down?
Imagine a 360 platform game.
Darren.
Comments
If not, try my "silky smooth tilt demo"