Question about specific solid collisions

For questions about using Classic.

Post » Tue Aug 23, 2011 4:58 pm

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.
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Tue Aug 23, 2011 5:39 pm

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.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Tue Aug 23, 2011 5:50 pm

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 :).
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Tue Aug 23, 2011 6:21 pm

[QUOTE=sparkfeather]Thanks for the quick reply, greatly appreciated :).[/QUOTE]

No problem, glad to hear it worked out for you.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests