Move by accelerometer
SkyMaple
Member Posts: 817
How can I set up an actor to move around by the accelerometer (up,down,left,right)? It would be setup for iphone landscape, being perpendicular to the ground.
Comments
a rule when attribute device accelerometer x >0.5 move up
a rule when attribute device acceleormeter x < -0.5 move down
a rule when attribute device accelerotmeter y is > 0.5 move left
and a rule when attribute device acceleormetr y < -0.5 move right