New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag stops working when physics are enabled #598
Comments
I reported a similar issue: #567. Rich provided a solution which didn't work for me, but I'd be interested to hear if it solves your problem. |
Woops, you are totally right, this issue is duplicated, will close it and keep commenting on yours. Thanks :) |
Since #567 was closed but apparently still not fixed, I'm leaving this issue open unless Rich considers it is better to move the discussion back to the other one. |
Just seen Rich answer in #601, so I'm closing this. |
Please check the dev build: https://github.com/photonstorm/phaser/tree/dev/build I've made a LOT of changes tonight to losen things up a bit. You can now drag Sprites with physics bodies for example, without having to set moves to false (unless they are actually moving!) |
As described in this thread:
http://www.html5gamedevs.com/topic/4764-problems-group-vs-sprite-collision-and-drag-with-phaser-2/
Once physics are enabled for a Sprite, it can't be dragged properly.
onDragStart and onDragStop events are fired correctly, but the Sprite wont move following the mouse/touch pointer.
The text was updated successfully, but these errors were encountered: