How do I detect collision point between 2 balls?

Get help using Construct 2

Post » Thu Sep 11, 2014 2:56 pm

so, I have 2 balls...

They are both instances of the same sprite, which is a physics object. I want to spawn a one shot particle when they collide. Obviously I want this to be at the point of the collision. They are rotating, which probably makes it harder.

Is there an easy way to just detect the x,y co-ordinate between the 2, bearing in mind they are the same sprite?
B
5
S
1
Posts: 19
Reputation: 1,173

Post » Thu Sep 11, 2014 7:59 pm

If the balls are the same size you can do this:
Image

Or if they're different sizes:
Image
B
91
S
31
G
103
Posts: 5,240
Reputation: 67,766

Post » Tue Sep 16, 2014 9:05 am

wow, that is the kinda response I was hoping for! That's perfect- thanks very much :D
B
5
S
1
Posts: 19
Reputation: 1,173


Return to How do I....?

Who is online

Users browsing this forum: jasontoups, raptor0555 and 1 guest