orbital-engine
    Preparing search index...

    Function findBodiesInsideSiblings

    • Every pair of bodies sharing the same immediate parent (real siblings — e.g. two stations orbiting the same planet, or two moons of the same planet) that are close enough for one to render inside the other's own sphere. Same "not a data bug, but may render badly" spirit as findBodiesInsideParent — two real, small bodies can legitimately sit closer together than their shared generic placeholder radius implies.

      Deliberately scoped to bodies sharing a parent, not every pair in the system (an O(n²) global scan) — a real system can have hundreds of bodies, but any one parent's own children are typically a handful, so this stays cheap (bounded by the largest sibling group, not system size) while still covering the actually-plausible "these two are near each other" cases: unrelated bodies elsewhere in the system are, by construction of how real systems are laid out, essentially never close enough to matter.

      Parameters

      Returns SiblingContainmentWarning[]