Skip to content

Improved clipping#40

Draft
LengthenedGradient wants to merge 8 commits into
mainfrom
improved-clipping
Draft

Improved clipping#40
LengthenedGradient wants to merge 8 commits into
mainfrom
improved-clipping

Conversation

@LengthenedGradient

Copy link
Copy Markdown
Member

Adds support for:

  • Clips from improved clipping
    • "Sealed" clips which cap off holes left by clips with a convex hull
    • Primitives are responsible for managing their own clips and just update them when improved clipping tells it to.

Convex hull should propperly seal off clips for clips of concave primitives such as magic cubes and tubes
@LengthenedGradient
LengthenedGradient marked this pull request as draft July 20, 2026 03:57
Rebuilding a parented primitive would cause issues with the hitbox. Unparent and reparent
This reverts commit 99635cc and
commit 17ce696, restoring the
original clipping/capping logic.
Sealing a multiconvex entity introduces a discrepancy. Clipping a concave object results in a concave hole in the physics mesh. It should not be covered up visually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant