# Nition/UnityOctree

A dynamic, loose octree implementation for Unity written in C#

Repository: https://github.com/Nition/UnityOctree
Canonical: https://ross.abutalabs.com/products/unityoctree
Language: C#
License: BSD-2-Clause
License Family: permissive
Topics: unity-3d, c-sharp, octree, unity3d, loose-octrees, dynamic, unity-scripts
Archived: true
Last push: 2021-06-07T22:22:16+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4500, "days_push": 1913, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1010, forks 237 (observed 2026-08-28T04:03:12.975191+00:00)

## What it is
A dynamic, loose octree data structure implementation for Unity written in C#. It includes BoundsOctree for axis-aligned bounding box storage and PointOctree for point-based spatial queries.

## Use cases
- spatial partitioning for 3d game objects in unity
- fast collision detection queries in a 3d scene
- find nearby objects to a point or ray in 3d space
- broad-phase collision culling for physics
- dynamic octree that grows and shrinks with objects
- neighborhood search for game ai

## When to choose
- you need a general-purpose dynamic octree in Unity
- you want loose octree behavior to reduce boundary re-insertion
- you need both bounds-based and point-based spatial storage

## When to avoid
- you need a maintained library with active support
- you are not using Unity or C#
- you need non-recursive search to avoid stack overflow on extremely deep trees

## Facets
- artifact type: library
- maturity: abandoned
- function: game-engine, graphics, simulation
- domain: graphics
- platform: game-engine, cpp
- tags: octree, spatial-partitioning, loose-octree, collision-detection, unity-scripts, c-sharp, game-development, algorithms

## Member repositories
- Nition/UnityOctree (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.975191+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:55.032767+00:00, confidence not recorded.
  - readme: https://github.com/Nition/UnityOctree (fetched 2026-08-28T04:03:12.975191+00:00, sha b725d75f1b50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
