18
2018
Quadtree
Converted this javascript quadtree (by The Coding Train) to Unity using texture2d
*not complete with all the features yet though, but can add points by clicking texture with mouse.
Unity Project
https://github.com/unitycoder/UnityQuadtreeInTexture
Original source
https://www.youtube.com/watch?v=OJxEcs0w_kE
Related Posts
3 Comments + Add Comment
Leave a comment
Recent posts
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
Nice. I would recomend to grid based instead of old school quadtree… 🙂
ps. what are you working on these days? : )
quadtree:
https://gist.github.com/DGoodayle/2b4fa13037b209887852