You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We approximate the shape of collision boxes based on the distance from the camera to the center of the tile. On highly overzoomed, pitched maps, the center of the tile can be far outside of the viewport, so the approximation can be wildly off:
The effect will tend to create lots of extra collisions (unnecessarily hidden labels), and also make collision detection more expensive.
This will be fixed incidentally by the global collision detection changes.
ChrisLoer
changed the title
"camera to tile distance" collision approximation breaks down for overzoomed tiles
[bug] "camera to tile distance" collision approximation breaks down for overzoomed tiles
Oct 17, 2017
We approximate the shape of collision boxes based on the distance from the camera to the center of the tile. On highly overzoomed, pitched maps, the center of the tile can be far outside of the viewport, so the approximation can be wildly off:
The effect will tend to create lots of extra collisions (unnecessarily hidden labels), and also make collision detection more expensive.
This will be fixed incidentally by the global collision detection changes.
/cc @ansis @mollymerp @asheemmamoowala
The text was updated successfully, but these errors were encountered: