Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cr4yz/unity3d-quadtree-collision-detection
QuadTree and Collision Detection Systems for Unity3d
https://github.com/cr4yz/unity3d-quadtree-collision-detection
physics quadtree unity3d
Last synced: 2 months ago
JSON representation
QuadTree and Collision Detection Systems for Unity3d
- Host: GitHub
- URL: https://github.com/cr4yz/unity3d-quadtree-collision-detection
- Owner: cr4yz
- License: mit
- Created: 2018-05-28T22:36:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T01:40:02.000Z (over 6 years ago)
- Last Synced: 2024-11-10T21:40:29.418Z (2 months ago)
- Topics: physics, quadtree, unity3d
- Language: C#
- Size: 1.59 MB
- Stars: 186
- Watchers: 9
- Forks: 37
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Collision Detection & QuadTree
![Unity3d Quadtree](/screenshot.png?raw=true "Unity3d Quadtree")
Demo video: https://crayz.tv/files/sharex/2018-05-28%2017-19-29.mp4
A simple collision detection system. Includes two algorithms:
* Brute checks all bodies against all other bodies, and it can be hard on performance and only recommended for 100 or less bodies.
* QuadTree queries a QuadTree to test collisions against nearby bodies only. Much more performant than Brute, but takes a bit of extra work to set up.