Collision detection

Get help using Construct 2

Post » Tue Jan 31, 2012 3:54 pm

I'm making a game with a ball that will bounce off a shape with varying-angled faces on its way to the 'target'...

I know how to use Polygon definition to apply to my shape, but it suggests no more than 8 points, and my shape is far more complex than that.

So, is there a more elegant way of defining my shape? I mean, is there a way for the application to know automatically how my ball should bounce off my shape, without having to define my shape with a separate Polygon?

And if not, is there a performance hit by using, say, 21 points on a single shape, compared to 7 points on 3 separate shapes?

B
5
Posts: 12
Reputation: 551

Post » Tue Jan 31, 2012 5:22 pm

Take a look at this: http://www.scirra.com/forum/polygon-whats-better_topic48484.html7Soul2012-01-31 17:22:16
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Tue Jan 31, 2012 5:42 pm

Answers my question exactly, thank you 7Soul.

(how do I keep missing these threads?!)
B
5
Posts: 12
Reputation: 551


Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 14 guests