On collision with point ()

New releases and general discussions.

Post » Tue Dec 04, 2007 2:49 pm

Add a new condition and parameter like this :

1) Condition
When OBJ1 collides with OBJ2 point ("point")


2) Parameters (useful for retrieving it)
OBJ.Points.("point").X
OBJ.Points.("point").Y
B
2
S
2
G
5
Posts: 512
Reputation: 2,674

Post » Tue Dec 04, 2007 2:57 pm

I think it has been already suggested.. if I properly remember it was undoable because the most of times happens that are colliding whole object areas. It should be possible to relevate colliding zones with trigonometry, it would be a good subject for a tutorial on the new wiki.
B
2
S
1
G
5
Posts: 70
Reputation: 1,540

Post » Tue Dec 04, 2007 5:25 pm

You might be able to do that with the system condition 'object collides with point', as long as you could get the x/y of image points.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Thu Dec 06, 2007 12:22 am

Yeah, once I get round to adding expressions to get image points, you'll be able to do this with the system condition.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Dec 06, 2007 9:21 pm

Thank you very much ^_^
B
2
S
1
G
5
Posts: 31
Reputation: 1,462

Post » Sat Feb 04, 2012 7:00 am

Hi all,

Can someone point me to where the system 'object collides with point' condition is? I somehow fail to find it. Or has it been removed?

Thank you!
B
4
S
1
G
1
Posts: 26
Reputation: 1,296

Post » Sat Feb 04, 2012 7:01 am

Apologies, this is in construct classic.
Anything similar in Construct 2 for achieving this?
B
4
S
1
G
1
Posts: 26
Reputation: 1,296


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests