Moving an actor using the accelerometer

aalzankiaalzanki Member Posts: 283
edited November -1 in Working with GS (Mac)
Hi,

I have an airplane in my game, I used this to control it using the accelerometer:

Move Behavior:
Direction: ( game.Accelerometer.Y *150)
Speed: 300
Relative to actor

But when I tilt the device too much the airplane moves backward.
How do I limit it, so it doesn't move backward?

Regards,
aalzanki
Sign In or Register to comment.