physics bug

Bugs will be moved here once resolved.

Post » Mon Jan 16, 2012 12:16 am

Hello !

I found a bug using the physics behavior with sprites. I had this type of message for each sprite with the option 'immovable' activated :

Assertion failure: Physics polygon separation resulted in no polys

Stack trace:
assert2(0,"Physics polygon separation resulted in no polys")@http://localhost:50000/preview_prelude.js:12
([object Array],7396)@http://localhost:50000/Physics_behavior.js:554
()@http://localhost:50000/Physics_behavior.js:905
()@http://localhost:50000/Physics_behavior.js:811
([object Array],[object Object],true)@http://localhost:50000/preview.js:1035
()@http://localhost:50000/preview.js:1446
()@http://localhost:50000/preview.js:1203
()@http://localhost:50000/preview.js:515
()@http://localhost:50000/preview.js:463
(-10)@http://localhost:50000/preview.js:499
B
8
S
1
G
1
Posts: 8
Reputation: 1,234

Post » Mon Jan 16, 2012 12:29 am

Please provide a capx and the precise steps to reproduce the bug as asked in how to report bugs.

Many thanks ^^
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Mon Jan 16, 2012 12:40 am

In fact it was a bad generation of the collision polygon in one of my sprites. The preview is working correctly now.

Another bug :
I made sprites for the decor with the option 'immovable'. The collision polygon don't work when these sprites were rotated.
B
8
S
1
G
1
Posts: 8
Reputation: 1,234

Post » Mon Jan 16, 2012 1:09 am

Sorry Kyatric.

Here's the capx for thr problem of rotation and collision :
http://dl.dropbox.com/u/57428335/rotation2.capx

Here the steps :
- Start the preview.
- Try to make a collision whith the four blue sprites.

Only the sprite with the angle '0' will work correctly. In the others, the collision polygon wasn't rotated.

Thank you. (and again sorry)
B
8
S
1
G
1
Posts: 8
Reputation: 1,234

Post » Wed Jan 18, 2012 9:20 pm

@domfont - your second bug with wrong collisions should be fixed in the next build (r76).
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests