I Have a physics object and I want to be able to drag it around, like in this game :
http://www.motika.com.mk/index.php?opti ... &Itemid=57
I tried the drag and drop behavior but it doesn't work very well (object doesn't rotate and collisions are wrong ) So i wonder how else can I do that ?
Thanks in advance.
Here's an example cap.
Click on the sprite to drag.
Hope this helps.
Develop games in your browser. Powerful, performant & highly capable.
Thanks, but I also want the sprite to rotate depending on where I click it. Like creating a hinge at the mouse point. Thats why I didn't use Drag-and-drop behavior in he first place.