Physics object dragging problem

For questions about using Classic.

Post » Fri May 20, 2011 12:49 pm

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.
B
2
G
2
Posts: 34
Reputation: 718

Post » Fri May 20, 2011 5:55 pm

Here's an example cap.
Click on the sprite to drag.

[url:222cer5u]http://dl.dropbox.com/u/22173473/Physics%20drag.cap[/url:222cer5u]

Hope this helps.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sat May 21, 2011 7:54 am

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.
B
2
G
2
Posts: 34
Reputation: 718


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests