Fast Drag = Problem?
fiorentin
Member Posts: 58
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
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
So if anyone knows about this problem it would be good to know.