An Extensible Plugin for Integrating High-Performance Collision Detection Broad-Phase Algorithms into Unity
This paper presents a plugin architecture for Unity to integrate and benchmark broad-phase collision detection algorithms. The solution connects high-performance C++ algorithms to Unity’s C# environment via an external dynamic-link library, allowing developers to test and compare different methods in interactive scenarios. We evaluated three integrated algorithms (Brute Force, Tracy, and KDTree) in tests with up to 1600 objects (uniform and assorted) across ten distinct simulation configurations, assessing both algorithmic performance and the integration bridge’s efficiency. Results show a stable architecture, validating the use of C++ DLLs for intensive tasks in Unity and providing a modular framework to extend its native physics capabilities.
Authors
- Raul Queiroz Feitosa (ORCID: https://orcid.org/0000-0001-8344-5096)
- Maria Andréia Formico Rodriguês (ORCID: https://orcid.org/0000-0003-1181-2971)
Publication Details
- Published
- 2025-09-18
- DOI
- https://doi.org/10.5753/se4games.2025.14883
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00