How do I Collide with only 1 object

Get help using Construct 2

Post » Wed Nov 11, 2015 8:29 pm

So I'm making a simulation and in it when CO2 hits a tree it becomes O2 and when O2 hits a rotting log it becomes CO2. Right now I have it set so that on a collision that gas is destroyed and a new one is spawned but the problem is that it 2 trees or logs are close together extra gas is formed. Is there anyway to only allow one instance to be made?
B
22
S
8
Posts: 203
Reputation: 2,059

Post » Wed Nov 11, 2015 10:07 pm

Without knowing how you have your events set up, it would be hard to answer..
On collision should only trigger once..
I'm guessing you have conditions to your on collision event that should be made untrue in the actions attached..
only if two instances of the object colliding with are exactly over eachother could there be an issue..
This could be handled with a pick top instance, maybe..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 12, 2015 2:46 am

Well I have
CO2 on collision with tree: CO2 destroy
CO2 spawn Oxygen
B
22
S
8
Posts: 203
Reputation: 2,059

Post » Thu Nov 12, 2015 2:53 am

trigger once on co2 spawn?
B
78
S
23
G
69
Posts: 1,353
Reputation: 44,025

Post » Fri Nov 13, 2015 1:05 am

Didn't even know that was a thing thanks! Hopefully it'll work!
B
22
S
8
Posts: 203
Reputation: 2,059


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests