mouseDrag


#1

Hi all,

I’m having a few issues with the mouseDrag event. The one that’s causing the most problems at the moment is that it doesn’t seem to be called fast enough when the mouse is moved at speed. I have vectors for the x and y points which add the new value each time mouseDrag is initiated. But because it’s not getting called fast enough there are distances between the values in the vectors, instead of a max. of 1. I’m attempting to assemble an xy pad which allows the user to flick the ball around inside the component. I need the last few values in the vectors though to determine the direction. Any suggestions?

Thanks…