You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need the user to be able to click on an object and pull it into some direction. When the user releases the mouse button, the object would move into the desired direction. And I need the same behavior with a touch pad (mobile).
Is this possible with this module somehow?
Thanks in advance,
Tom
The text was updated successfully, but these errors were encountered:
There is nothing builtin support for this kind of thing as I'm not sure how it fits a single key/gesture format, but it's quite easy to implement it. With that being said, maybe it will be added one day if there is an elegant way to do it.
It has middle-mouse button click-and-pull scrolling that you're interested and it works identically on mobiles.
So basically, for mobiles you need to remember the gesture start pos. Then you need to wait until the first tick the action is no longer active (or use "released" event, but I don't think it works with touches right now?). Then you have 2 positions: one from the start and one at the end of the gesture.
I need the user to be able to click on an object and pull it into some direction. When the user releases the mouse button, the object would move into the desired direction. And I need the same behavior with a touch pad (mobile).
Is this possible with this module somehow?
Thanks in advance,
Tom
The text was updated successfully, but these errors were encountered: