Simple Question. Dragging?

DestructionProductionsDestructionProductions Member Posts: 80
Is there a way to drag an item with your finger? i don't know what that would be like but i haven't updated my software yet so i don't know if that would be a new feature or something. idk.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    all you do is have a rule when touched is pressed

    constrain self position x to mouse position x and constrain self position y to mouse postion y
  • I'm still lost i don't know much about this...

    Is this constrain thing a behavior?

    or is it like

    When Actor Receives: Attribute : Game.Touch.Touch1.X = 0 or somthing?

    Thanks
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    DestructionProductions said:
    I'm still lost i don't know much about this...

    Is this constrain thing a behavior?

    or is it like

    When Actor Receives: Attribute : Game.Touch.Touch1.X = 0 or somthing?

    Thanks

    constrain is a behavior

    Have a rule when actor recieves event touch is pressed

    drag to constrain attribute hehaviors into that rule

    in the first constrain attribute before constrain self position x to devices mouse position x and in the second constrain behavior constrain self position y to devices mouse position y.

    You select those attributes from the attribute drop down menu
  • Thanks!!!!
Sign In or Register to comment.