Pick nearest/farthest work w/ collision cells?

Discussion and feedback on Construct 2

Post » Wed Feb 05, 2014 2:34 am

Does pick nearest/farthest work with the collision cells optimization? Just wondering...
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Feb 05, 2014 1:29 pm

No, because it's not obvious how it could help - there's no way of knowing which collision cell the nearest or farthest object will be in, and over long distances it's actually slower to look in lots of collision cells.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Wed Feb 05, 2014 11:42 pm

@Ashley

Thanks for the reply. Now that I think about it, I see your point.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests