Make "Move To" behavior faster
iPhoneDevForMe
Member Posts: 362
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
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
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.