Immovable physics toggle problem

  • Problem Description

    If you toggle a physics sprite between movable & immovable while it's sitting on top of an immovable sprite, it falls through the one below when toggling back to movable.

    Attach a Capx

    Attached below

    Description of Capx

    As above

    Steps to Reproduce Bug

    Click on the red sprite to toggle moveability.

    Observed Result

    Clicking once makes it fall into the floor slightly then move back up. Clicking repeatedly can make it fall through.

    Expected Result

    I'd like it to not move, but this may just be a limitation of the physics engine.

    Affected Browsers

    • Chrome: yes
    • FireFox: yes
    • Internet Explorer: don't know

    Operating System and Service Pack

    ____ Win7 64bit ____

    Construct 2 Version ID

    190 (64bit)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, I'm not sure there's anything we can do about it - it looks like that's just how the Box2D physics engine responds to the settings, and that code is maintained by the Box2D developers. FWIW it seems to do it less (but still a bit) in asm.js physics mode.

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