0 Favourites

Collision polygon problem

  • Problem Description

    The collision polygon doesn't seem to work fine

    Attach a Capx

    Description of Capx

    Full game (don't worry it's a mini game)

    Steps to Reproduce Bug

    • Click Play
    • Try to put blocks like L block on the edge of another to test collision

    Observed Result

    The collision shape seems to be a rectangle instead of the form of the piece

    Expected Result

    It worked fine here, minus a litle shifting bug I need to work on.

    Affected Browsers

    • Chrome: Didn't test
    • FireFox: Yes
    • Internet Explorer: Didn't test)

    Operating System and Service Pack


    Construct 2 Version ID

    Tried with the r255 and the r257.3 - Personal Licence

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Yeah, it looks like a bug. When you change animation frame of Physics object, its collision box is not updated.

    Ashley will probably not look into your project with 100+ events, so here is a much smaller capx demonstrating this problem:

    I suggest you try Chipmunk behavior instead of Physics, it seems to work fine in this situation.

  • I didn't even know we could add modules like that, thanks a lot, I did changed it and now it works perfectly, more than that it work smoother than with box2d !

    I updated the game here as well

    Thanks again !

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