Thin Polygon Physics Problem

Discussion and feedback on Construct 2

Post » Mon Jan 09, 2012 12:04 pm

Hey,

any object with physics behaviour is falling through this thin horizontal shape, which has physics behaviour too.



u got an idea to fix this?xeed2012-01-09 12:05:49
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Jan 09, 2012 12:09 pm

Can you post your .capx?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Jan 09, 2012 12:13 pm

http://dl.dropbox.com/u/54216429/phx.capx

u need the dropndrag behaviour to test it.xeed2012-01-09 12:42:04
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Jan 09, 2012 1:21 pm

well, its not a bug in the physics. i'll try to solute the problem through impulses.

regards :)
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Tue Jan 10, 2012 11:12 am

just cant find a solution for the problem.

anyone has an idea to fix the fallthrough bug on the left stone in this project?

you need the latest version of the drag/drop plugin from here to open the project.

thanks!xeed2012-01-10 11:13:56
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Tue Jan 10, 2012 11:21 am

The left stone doesn't fall through for me, do I need to do anything to reproduce the problem?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jan 10, 2012 12:32 pm

yes, you should move the left stone slowly along the bough, to the left side. u can drag it only exactly clicking over the bough.

i know there are some other bugs, especially because of the shape of the bough, but this is the one that makes no sense for me.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Tue Jan 10, 2012 12:47 pm

It probably falls through because moving physics objects by events or other behaviors forces Construct 2 to "teleport" the physics object in the physics world, causing it to skip collisions. You have to do everything with the Physics actions (setting forces, impulses etc.) for it to work correctly.

Further reading: see Physics in Construct 2: the basics ("Manual movement & other behaviors").
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jan 10, 2012 1:10 pm

i will try this again with forces, but there is one position on the left where it really looks like a bug. as you can see, the bough stops turning or moving while dragging a stone. i did this for debugging purposes.

and when u drop the stone cleanly over the bough more left, over the second polygon shape point, the stone is being "turned" somehow and falls right trough.

maybe someone here can give me more tips on how to solute this special stuff.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Tue Jan 10, 2012 1:57 pm

could you tell me, which value to enter for "force" inside the "force to apply" window? i cant find any description for this and what to put inside this textfield.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests