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
S
1
G
2
Posts: 34
Reputation: 868

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
21
S
5
G
8
Posts: 1,215
Reputation: 7,834

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
S
1
G
2
Posts: 34
Reputation: 868


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests