Tilt to control

squirrel42squirrel42 Member, PRO Posts: 195
edited November -1 in Working with GS (Mac)
I'm sure this must be simple but I can't figure it out.
How do I use the accelerometer to control an actor by tilting the device left and right while it is vertical. I can set it up easy enough so the accelerometer controls an actor when the device is on a felt surface but not while it is held vertically.
Thanks in advance
Chris

Comments

  • squirrel42squirrel42 Member, PRO Posts: 195
    Sorry, being a bit dense today:

    y axis only.
  • BSideGamesBSideGames Member Posts: 392
    You need to set the default to make the device think that vertical is zeroed (I don't think zeroed is a word)
  • squirrel42squirrel42 Member, PRO Posts: 195
    zeroed works for me!

    How do I do that?
  • BSideGamesBSideGames Member Posts: 392
    Change the attribute.

    I don't know to what number, but I'd guess 90. Just mess around with it a bit.

    I hope that helps
Sign In or Register to comment.