about collision polygons

Discussion and feedback on Construct 2

Post » Sat Dec 07, 2013 3:14 am

when doing a show collision polys i see that every sprite, including sprites that will never use collisions, have a "best guess" poly on it,

should that be like that? doesn't that take extra resources how small it may be?

i see that there is disable collision property, should i do that for every object that doesn't need collision? it doesn't seem to change the polygon display

i also rather have a rectangle poly by default, if its for ease of use for cases where you need "best guess" by default i think it should be in preferences or project settings



ImageImage
B
70
S
21
G
7
Posts: 827
Reputation: 10,052

Post » Sat Dec 07, 2013 12:07 pm

If you don't check for a collision using a behavior or events, then it never checks for a collision with that object - the collision mask is just ignored. So it will have no effect if you enable/disable its collisions, try to reset the collision mask, or anything else. Just ignore it!
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Sat Dec 07, 2013 1:43 pm

ok thanks for clearing that up
ImageImage
B
70
S
21
G
7
Posts: 827
Reputation: 10,052


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests