Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing through seemingly solid patches #1307

Open
sweet235 opened this issue Sep 16, 2024 · 1 comment
Open

Passing through seemingly solid patches #1307

sweet235 opened this issue Sep 16, 2024 · 1 comment
Labels

Comments

@sweet235
Copy link
Contributor

This bug has been known for some time. Recently, we found a way to reproduce it on an open source map: https://github.com/Masmblr/map-staratcs_src

A dretch can pass through this wall, where this screenshot is aiming at:

unvanquished_2024-09-16_080638_000

I inspected the map source and found noting suspicious. The map was built from commit 4e1501a.

This particular instance was discovered because a bot fell down to the bottom of the surrounding box, and the game would not end without admin intervention.

@slipher
Copy link
Member

slipher commented Sep 17, 2024

The collision geometry of the offending patch surface can be visualized by setting /surfSC 437 on my branch:

unvanquished_2024-09-16_191552_000

I thought decreasing SUBDIVIDE_DISTANCE, which is supposed to produce more precise collision geometry, could be a quick fix. But after changing it to 16 to 4 the same hole was still there. Maybe there is a bug in the algorithm where it is wrongly pruning points.

I also saw such a bug on map Watah, in the tube leading out of the antigravity zone. Maybe #950 is also about the same thing, but it's so poorly reported, it's hard to tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants