Drag and drop combined with physics

For questions about using Classic.

Post » Tue Jan 08, 2008 5:45 pm

If drag and drop is combined with physics, the object loses its physics capability. This is a gamebreaking error for me right now :(
B
2
G
5
Posts: 19
Reputation: 1,288

Post » Tue Jan 08, 2008 5:48 pm

Physics and other movements don't tie in particularly well at the moment: currently, if you move it with a mouse movement or such, it has the effect of teleporting a series of positions along the line you move it, rather than having a velocity and force applied. It's one of the improvements we need to make to the physics engine.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Jan 10, 2008 4:34 am

can you calculate a force vector based on the relative mouse movements and apply it to the object you're dragging?
B
2
G
5
Posts: 34
Reputation: 1,318

Post » Wed Jan 23, 2008 7:57 pm

I was having the same problem. I fix that including 3 movements. First the phisics, second the Drag & Drop and Third the phisics movement again. Works fine!
B
2
G
4
Posts: 19
Reputation: 1,088

Post » Wed Jan 23, 2008 8:19 pm

[quote="Mesothere":c5qzl64p]If drag and drop is combined with physics, the object loses its physics capability. This is a gamebreaking error for me right now :([/quote:c5qzl64p]
It works on my Constructor 8)
B
4
S
2
G
4
Posts: 719
Reputation: 2,938


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests