How to turn off accelerometer?

I need to be able to disable the accelerometer at certain times. How can I do this?

Comments

  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078

    create a game integer attribute, name it accelerate and set it to 0.
    create a rule:
    if attribute accelerate = 0
    then>
    (place all the accelerometer information in here.

    now when you dont want to use the accelerometer then change the accelerate attribute to 1. if you want to use it, change it to 0.

  • MattButlerStudiosMattButlerStudios Member Posts: 486

    Thanks a lot @CodeMonster‌

Sign In or Register to comment.