Enable/Disable Collisions Bug

0 favourites
  • 2 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • Problem Description

    On both physics engines, when let's say... object "A" is already in the layout and this object is sleeping, if you use the action: "Disable Collisions with other object", the action will not work on the Object "A" causing to have the Collisions Enabled with the object "B" until the end of the layout, or until the object collides again with the Object "B" with a strong physics impulse.

    Attach a Capx


    Description of Capx

    The Instructions are Very Clear, key 1 to Disable Collisions, Key 2 to Enable Collisions, Right Click to Enable a Object, Left click to drag. The Problem is visible when you disable the collisions, the initial green squares will stay in the same place and the newly created squares will have this option working.

    Steps to Reproduce Bug

    • Put the Physics Object to sleep mode. (Achieved when the object makes contact with the Purple Floor)
    • Press Key 1 to Disable Collisions with the Purple Floor.
    • Tadaaa! Bug D:

    Observed Result

    The Squares will stay still forever until they are moved from a distance (with left click drag) , or the layout is restarted, even when a newly created square collides with the sleeping square, the sleeping condition will be disabled for a while, but they will stay still.

    Expected Result

    I expect that when you enable or disable collisions with object "A" to "B" and the object "A" is on sleeping mode, the object "A" will pass trough the object "B", so the disable collision action works.

    I know that the physics engine works on this manner, but it will be helpfull if a new physics action to wake up a physic object is added.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 7 SP1

    Construct 2 Version ID


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, this is just how the physics engine works: you can't disable collisions for objects that are already colliding. It only tests if the collision is disabled at the initial point of contact. Closing as won't fix.

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