{"repo":"Watcher3056/Custom-Raycaster-Colliders-Unity","free":true,"listed":false,"github":"https://github.com/Watcher3056/Custom-Raycaster-Colliders-Unity","clone":"git clone https://github.com/Watcher3056/Custom-Raycaster-Colliders-Unity.git","description":"A cross-platform raycast system for Unity with custom primitive support and spatial acceleration structures. Built with a pure C# core that can run outside Unity environments.","language":"C#","stars":49,"topics":["unity","unity-physics","unity-server","unity2d","unity3d"],"license":"MIT","category":"game-templates","readme_excerpt":"Custom Raycast System for Unity A cross-platform raycast system for Unity with custom primitive support and spatial acceleration structures. Built with a pure C# core that can run outside Unity environments. Performance Measured with the included headless harness (.NET 8, Release, 20,000 rays per batch, seeded random scenes, QuadTree enabled). Absolute numbers vary with hardware: Scene Throughput Narrow-phase tests / ray GC allocation / raycast --- ---: ---: ---: 100 boxes 1,190,000 rays/s 100 units) - ✅ Many objects (30+ colliders) - ✅ Sparse object distribution - ✅ Long-range raycasts When to Use SimpleList - ✅ Small scenes (world size < 100 units) - ✅ Few objects (< 30 colliders) - ✅ Dense object clusters - ✅ Short-range raycasts Memory - Raycasts allocate 0 B at steady state; RaycastAll allocates only the returned list - Scene storage: 0.3–0.4 KB per primitive including QuadTree overhead (≈650 KB for 2,000 primitives) Requirements - Unity 2019.4 or later (for Unity layer) - .NET Standard 2.0 compatible core; no external dependencies - .NET 8 SDK (optional) — only for running the headless test suite ( Tests.Core/ ) Use Cases Unity Projects - Prototyping physics systems - Custom collision detection - Educational purposes - Cross-platform game development Server Applications - Dedicated game servers - Physics simulations - Pathfinding systems - Non-Unity game engines License MIT — see LICENSE. Feel free to use and modify for your projects. --- Need help? Check the test scene","default_branch":null,"files":null,"tree":[],"storefront":"/r/Watcher3056","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Watcher3056/Custom-Raycaster-Colliders-Unity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}