How do I disable collisions for some objects only

Get help using Construct 2

Post » Sun Apr 13, 2014 9:48 pm

Everything is in the title.
I know it sounds silly but there is actually no option like this.
I have enemies that must pass through some solids but must accept collisions from other stuff
thanks
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Sun Apr 13, 2014 11:02 pm

I guess you can pick some objects in one condition "pick n'th instance" as often you need, and "set collisions enabled" = false for all of them.

Tell me if it works.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Sun Apr 13, 2014 11:38 pm

xeed wrote:I guess you can pick some objects in one condition "pick n'th instance" as often you need, and "set collisions enabled" = false for all of them.

Tell me if it works.


Nope it wont work.
And the reason is because we don't have such an option. We only have disable all collisions for an object and not for some objects.
That's lame because i think it can be easily fixed with code.
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Sun Apr 13, 2014 11:39 pm

@Ashley is it possible to make such an option for a future release?
I looked for plugins no one can provide it :/
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Sun Apr 13, 2014 11:44 pm

I asked a similar question long time before, and guessed it is already fixed.

If not, it should be done asap, since the picking multiple ID's of an object in a condition is essential for c2 game making.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Apr 14, 2014 4:11 am

vagaev wrote:@Ashley is it possible to make such an option for a future release?
I looked for plugins no one can provide it :/


I requested it some time ago already. Actually the topic had quite a bit of response. https://www.scirra.com/forum/viewtopic.php?f=146&t=92740&p=723743&hilit=megatronx+solid#p723743 But nothing as of yet unfortunately. This option is crucial for certain things.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
93
S
30
G
22
Posts: 1,987
Reputation: 20,203

Post » Mon Apr 14, 2014 5:26 am

Does family option help into something? I do not have personal licence (yet) but I believe with family it is possible to make some conditions like that.
B
15
S
4
Posts: 57
Reputation: 1,792

Post » Mon Apr 14, 2014 7:14 am

orugari wrote:Does family option help into something? I do not have personal licence (yet) but I believe with family it is possible to make some conditions like that.


Nope because once again you don't have such an options as desactivate collision for*.
You only have desactivate collisions (of the said object, all te collisions)

I hope that someone will figure this out.
B
13
S
4
G
1
Posts: 241
Reputation: 1,724

Post » Mon Apr 14, 2014 7:29 am

Only way I can think of is by adding an invisible object behind each object at creation. That gives you one collision possibility for teams or whatever. Still, that means only one possibility for collision, and it would be twice the effect on performance that it would normally be.

I think we'll just need to hope that it gets added.
B
42
S
14
G
3
Posts: 165
Reputation: 5,115


Return to How do I....?

Who is online

Users browsing this forum: DarthPapalo666 and 34 guests