Accelerometer Help, moving just a part, but sticky to a specific place

dondan89dondan89 Member Posts: 150
edited November -1 in Working with GS (Mac)
Hello,

I need help on:

How do I make a actor to stay on specific place without moving, but do moving with the Accelerometer? for example been sticky at the top of the scene and actor can't move, but does can move left and right directions using the Accelerometer

thank you

Comments

  • SkyMapleSkyMaple Member Posts: 817
    If I'm understanding you corectly try this (you might need to play around with what axis to use)-

    Constrain self position x to
    ---accelerometer.x
Sign In or Register to comment.