crashcat docs
    Preparing search index...

    Class InternalEdgeRemovingCollector

    internal edge removing collector - eliminates "ghost collisions" that occur when a convex object slides across internal edges of a triangle mesh or compound shape.

    this collector wraps another collector and delays processing of edge/vertex contacts to determine if they are on internal edges based on the full contact set. face contacts are forwarded immediately.

    the algorithm:

    1. collect all hits during addHit calls
    2. forward face contacts immediately (contact normal aligns with face normal within 1 degree)
    3. delay edge/vertex contacts for later processing
    4. on flush (typically called at end of body collision):
      • sort delayed results by penetration depth (deepest first)
      • for each result, find closest feature (vertex or edge)
      • if feature is already "voided" by a deeper contact, skip it
      • otherwise forward to chained collector and void all vertices of this face

    this ensures that internal edges between coplanar/near-coplanar faces are ignored, preventing stuttering when objects slide across multi-primitive surfaces.

    Implements

    Index

    Constructors

    Properties

    bodyIdB: number = -1
    earlyOutFraction: number = Number.MAX_VALUE

    Methods