Only use tilt/rotation with the accelerometer?

ApprowApprow Member Posts: 703

Is it possible to only use the rotation/tilt of the device when using the accelerometer?
I use an actor that can moves left and right (X) based on tilting the device. But when you shake the device it also moves, kinda annoying when you play the game in a bus or a car for example.

Comments

  • ApprowApprow Member Posts: 703

    anyone? maybe a workaround?

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    You might try smoothing out the raw input. For example, instead of using the accelerometer data directly, you might try creating a running average.

  • ApprowApprow Member Posts: 703

    @RThurman‌
    I was thinking about that too, but how can you do that without reducing the responsiveness?

Sign In or Register to comment.