physics bug

0 favourites
  • 5 posts
From the Asset Store
Bug Match
$2 USD
60% off
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • 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

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

    Many thanks ^^

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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)

  • domfont - your second bug with wrong collisions should be fixed in the next build (r76).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)