0 Favourites

Question about specific solid collisions

This forum is currently in read-only mode.
  • Hi there,

    I was hoping someone could help me.

    I'd like for 2 objects to be solid so they don't fall through the ground,

    however I'd also like them to be able to intersect with each-other.

    (So object #1 could move through object #2, but neither fall through object #3).

    Is it possible to have the objects collisions be separated with families

    or something of the like?

    I currently have platform behavior on both objects if that makes any difference.

    Hoping for positive replies, thanks for taking your time to read this.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Removing the solid attribute from the 2 objects should work. The platform behavior will still stop when it touches a solid object.

    You can make the other 2 objects a new attribute (eg: Player/Enemy/etc), and then perform other collisions against that attribute.

  • Well I feel like a serious clutz right now =_=;

    I had thought that would work, so I turned off solid on the second object,

    however it still went through the floor.

    I kept fiddling through menu's looking for a possible solution,

    and at some point I realized when previewing the project and

    the object went through the floor after I had turned solid back on,

    that I had set it's collision setting to 'none'.

    However because I had already set it back to a solid now, I hadn't

    suspected that it would in fact collide with the ground with solid off,

    and just went back to hoping to find a solution elsewhere.

    However, I only realized all the above after you had told me it would work,

    and I tried again successfully.

    Thanks for the quick reply, greatly appreciated :).

  • Thanks for the quick reply, greatly appreciated :).

    No problem, glad to hear it worked out for you.

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