Make "Move To" behavior faster

iPhoneDevForMeiPhoneDevForMe Member Posts: 362
edited November -1 in Working with GS (Mac)
I have a move to behavior added to a "draggable" actor. When touch is release, the actor moves back to the original position it started.

One problem is when the speed is higher than 500, the actor will sometimes stop at the "move to" position, most the time it keeps going and off the screen.

When speed is at maximum, it does the same thing only not as often.

Any work arounds to keep this from happening? Drag was a suggestion that didnt work for me

Comments

  • JGary321JGary321 Member Posts: 1,246
    use interpolate...

    You can set that amount of time it will take to reach a certain X/Y & it will not overshoot. It's the best 'move-to' function now. I use interpolate for A LOT of things.
  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    Thats right, I need to get used to using that! Thanks alot!
Sign In or Register to comment.