crashcat docs
    Preparing search index...

    Function collideShapeVsShapeWithInternalEdgeRemoval

    • collide two shapes with enhanced internal edge removal to eliminate "ghost collisions" when sliding across internal edges of triangle meshes or compound shapes.

      this wrapper:

      • forces collectFaces=true and collideOnlyWithActiveEdges=false (required for algorithm)
      • wraps the collector with InternalEdgeRemovingCollector
      • automatically calls flush() after collision

      use this for objects that need smooth sliding across multi-primitive surfaces (e.g., character controllers, rolling objects on triangle meshes).

      Parameters

      • collector: CollideShapeCollector
      • settings: CollideShapeSettings
      • shapeA: Shape
      • subShapeIdA: number
      • subShapeIdBitsA: number
      • posAX: number
      • posAY: number
      • posAZ: number
      • quatAX: number
      • quatAY: number
      • quatAZ: number
      • quatAW: number
      • scaleAX: number
      • scaleAY: number
      • scaleAZ: number
      • shapeB: Shape
      • subShapeIdB: number
      • subShapeIdBitsB: number
      • posBX: number
      • posBY: number
      • posBZ: number
      • quatBX: number
      • quatBY: number
      • quatBZ: number
      • quatBW: number
      • scaleBX: number
      • scaleBY: number
      • scaleBZ: number

      Returns void