How do I detect specific collision ??

Get help using Construct 2

Post » Fri Apr 25, 2014 9:31 pm

Guys i wonder if i can detect if objects hit my main object from back side, front or sides ? Is there a method to understand if an object hit you from your back ?
B
4
S
1
Posts: 46
Reputation: 519

Post » Fri Apr 25, 2014 9:42 pm

You could pin different hit detectors around your main object and then check when something hits that hit detector. You can turn the hit detector invisible.
B
13
S
3
G
3
Posts: 35
Reputation: 2,731

Post » Fri Apr 25, 2014 9:46 pm

Enzan wrote:You could pin different hit detectors around your main object and then check when something hits that hit detector. You can turn the hit detector invisible.


Ohh i did not know that there are hit detectors :oops: Can you tell me where can i find them and how can i add them to my object i looked for them but could not find :/
B
4
S
1
Posts: 46
Reputation: 519

Post » Fri Apr 25, 2014 9:48 pm

Ohh i think i understand now you are suggesting that i pin invisible objects around my main character and check if these objects get hit. Brilliant solution thank you very much
B
4
S
1
Posts: 46
Reputation: 519

Post » Fri Apr 25, 2014 9:50 pm

BlazerGlazer wrote:Ohh i think i understand now you are suggesting that i pin invisible objects around my main character and check if these objects get hit. Brilliant solution thank you very much


Correct. You would create some invisible objects and pin them to where you need them on your character and then those objects are the ones you want to detect collisions with.
B
13
S
3
G
3
Posts: 35
Reputation: 2,731


Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 34 guests