Skip to content

xwc2021/QuadTreePathFinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuadTreePathFinding

quadtree path finding
思路1
思路2
思路3

image

使用方法

打開Arena Scene找到CellMaker物件 點擊按鈕 [Get All BoxCollider & Generate QuadTree] [TestPathFind] 就可以看到上面的結果

開關

showNodeLink = true image

比較

單純比較節點數量 不考慮單個QuadTreeConnectedNode的Link數

QuadTreeConnectedNode[] leftLink, rightLink, upLink, downLink;
split level QuadTreeConnectedNode (不含非leaf node) QuadTreeConnectedNode (含非leaf node) UniformGridNode
2 16 21 16
3 55 73 64
4 130 173 256
5 304 405 1024
6 637 849 4096
7 1345 1793 16384
8 2821 3761 65536

About

Test QuadTree Path Finding in Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages