0 Favourites

Solid object's collision polys present in other layouts

  • Problem Description

    Solid objects in one layout will have their collision polys present in the following layout.

    If you have a layout with a solid, and then move to the next level (where this obect is not present), the collision polys will still be there.

    Attach a Capx

    [attachment=0:3ekz0st3][/attachment:3ekz0st3]

    Description of Capx

    A game I'm working on where you can see this (very annoying) behavoiour.

    Steps to Reproduce Bug

    • Open layout "1"
    • Move to the next layout by moving both characters to the red square
    • Observe the solid objects in the next layout (the cabin and the gravestones)
    • Move to the next layout again
    • The solid behaviour will be in the next layout, even if the objects themself are not there

    Observed Result

    Collision polys (?) are present in layout even if object itself is not (and the object is not Global)

    Expected Result

    Collision poly should not be there when object is not there

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Installed app Android: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Win 7 SP1

    Construct 2 Version ID

    Release 168

  • Try regenerating the pathfinding obstacle map on start of layout.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Try regenerating the pathfinding obstacle map on start of layout.

    Oh, my bad. I'm sorry, I didn't know that was required. Seems to be working.

  • The Pathfinding behavior automatically regenerates the obstacle map when changing layouts, so it should not be necessary to do that. Closing as there is no minimal repro, please submit a minimal .capx made from scratch demonstrating only the bug, as per the guidelines. This project has hundreds of events.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
167 14,518
DMT2005's avatar
DMT2005
Unread hot topic
132 29,612
chadorireborn's avatar
chadorireborn
Unread hot topic
37 4,509
JackieChan's avatar
JackieChan