InsideGeometryFix
Fixes building restrictions on custom Rust maps that contain legitimate underground or rock-covered build areas.
# InsideGeometryFix
InsideGeometryFix allows building in custom map areas that would normally be blocked by Rust's anti-hack geometry checks.
Features
* Allows building in custom build areas that may be located under rocks or other terrain geometry.
* Patches the AntiHack.IsInsideMesh check without disabling the entire anti-hack system.
* Only overrides the result when the detected collider is identified as a terrain_trigger.
* Leaves other anti-hack checks and protections untouched.
* Designed for custom maps and specially created build zones where legitimate building can otherwise be incorrectly blocked.
How It Works
The plugin uses a Harmony postfix on AntiHack.IsInsideMesh. When the anti-hack check detects that a position is inside geometry, the plugin checks nearby colliders for a terrain_trigger. If one is found, the inside-mesh result is cleared, allowing the building action to proceed.
This provides a targeted fix rather than requiring server administrators to disable anti-hack protection globally.
