justice83 Posted June 8, 2015 Share Posted June 8, 2015 Hi there, I am fairly new to Phaser. I am using the out of the box methods:...enableDrag(false, true);onDragStart.add(onDragStartEvent, this);... However I noticed there is no obvious option of specifying the shape of the object to be dragged. My bitmaps are round, but enableDrag seems to only box boundary based. Any pointers? Cheers,Daniel Link to comment Share on other sites More sharing options...
rich Posted June 8, 2015 Share Posted June 8, 2015 You've two options: Drag based on the bounding box (what you're doing now) or drag based on a pixel perfect click detection (3rd parameter is enableDrag). Link to comment Share on other sites More sharing options...
Recommended Posts