Code center > Bugs and fixes
Torroidal Trouble 2.43n RESOLVED 2.43p
shvarz:
Thanks. Yes, they just go out of bounds for short periods of time. Usually it's a small bot being pushed out by a large bot. They do come back though, so I don't think this is a serious problem.
Numsgil:
It's an artifact of the way the physics engine works. The arena isn't a hard constraint. It's more like the walls are made of rubber.
EricL:
A recent perf change I made is calling attention to this. If the center of the bot is outside the visible portion of the field, I don't display the bot even if part of it should still be visible. This helps perf, primarly when zoomed in, but it also has the side effect of making bots whose center crosses the edge seem to disappear when the field is locked and zoomed all the way out.
I could change this in a generalized way, but there would be a small perf hit to do the math for every bot every cycle when zoomed in arbitrarily.
What I think I will do unless someone has strong objections is special case the locked zoomed all the way out mode and check center + radius in that case only.
Numsgil:
This shouldn't be too hard to fix in the general case, I did it once for the C++ version I believe. Are you organizing the bots in any way? Like in a grid?
EricL:
It's not hard. I just don't want to take the perf hit when zoomed. Every little bit helps...
There is no positional bucketization code for bots in the VB fork presently. I may end up adding one for the Egrid, but right now, it doesn't exist.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version