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

Sites: Estimate terrain objects bounding box overlap with site for hiding rocks etc #181

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Jun 18, 2024

  1. Sites: Estimate terrain objects bounding box overlap with site for hi…

    …ding rocks etc.
    
    TL;DR stop mortars spawning inside rocks by removing ROCK/ROCKS/HIDE terrain objects with a bounding box estiamtion.
    
    Estimates whether nearby terrain objects will overlap/intersect with the spawned site, then hides them.
    Also hides any terrain objects directly on top of those found with bounding box search, otherwise we end up with a bunch of floating bushes.
    Can be expanded to other kinds of terrain objects on a per site basis.
    
    Requires more testing on my end for both functionality and performance ... so putting up as a draft PR for now.
    dijksterhuis committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    0bdc90a View commit details
    Browse the repository at this point in the history