space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.7k stars 3.38k forks source link

FTL docking should consider tight bounds #9747

Open metalgearsloth opened 2 years ago

metalgearsloth commented 2 years ago

RN it just does AABB. Ideally you'd get the AABB overlap and then iterate over chunks and check slightly shrunken fixtures I think (as polys are enlarged slightly in box2d).

metalgearsloth commented 1 year ago

Half of this is done, for the shuttle itself, the "nearby grids" check still uses AABB.