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
45
S
10
G
11
Posts: 1,106
Reputation: 9,732

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
414
S
245
G
92
Posts: 25,198
Reputation: 200,337

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
45
S
10
G
11
Posts: 1,106
Reputation: 9,732


Return to Construct 2 General

Who is online

Users browsing this forum: Rice games and 3 guests