Fast Drag = Problem?

Hello,

I'm debugging my prototype and I've noticed that I have a problem with the Drag function.

Function: You drag the actors and when you release them they return to their start position.

The code is really basic. Two real attributes sets the start position (X+Y), a standard mouse constrain when touched and then a change position to start position when released.

This works fine most of the time, but not always. Sometimes the actor gets stuck at the release position instead of returning to the start position. I've also noticed that when I drag really fast it always get lost/stuck and never returns to its start position.

Is this a known problem and is there a workaround for this? Do one need another code to make sure the app can handle super fast/indifferent drag movements?

Kindly
F

Comments

  • fiorentinfiorentin Member Posts: 58
    Noone? Im thinking of setting up a speed limit on in the actor so if dragspeed is too fast it will go back to start position. It might reduce the errors but its not a real solution for me.

    So if anyone knows about this problem it would be good to know.
Sign In or Register to comment.