資源簡介
A星的工具包,還有教學(xué)實例,以及使用步驟。
代碼片段和文件信息
/**?\page?changelog?Changelog
-?3.7
-?The?last?version?that?was?released?on?the?Unity?Asset?Store
??was?version?3.6?so?if?you?are?upgrading?from?that?version?also?check?out?the?release
??notes?for?3.6.1?through?3.6.7.
-?Upgrade?notes
-?ProceduralGridMover.updateDistance?is?now?in?nodes?instead?of?world?units?since?this?value
???is?a?lot?less?world?scale?dependant.?So?the?defaults?should?fit?more?cases.
???You?may?have?to?adjust?it?slightly.
-?Some?old?parts?of?the?API?that?has?been?marked?as?deprecated?long?ago?have?been?removed?(see?below).
???Some?other?unused?parts?of?the?API?that?mostly?lead?to?confusion?have?been?removed?as?well.
-?Improvements
-?Rewrote?several?documentation?pages?to?try?to?explain?concepts?better?and?fixed?some?old?code.
-?\ref?accessing-data
-?\ref?graph-updates
-?\ref?writing-graph-generators
-?Pathfinding.NavmeshCut
-?And?some?other?smaller?changes.
-?Added?an?overload?of?Pathfinding.PathUtilities.IsPathPossible?which?takes?a?tag?mask.
-?\link?Pathfinding.XPath?XPath?\endlink?now?works?again.
-?The?ProceduralGridMover?component?now?supports?rotated?graphs?(and?all?other?ways?you?can?transform?it?e.g?isometric?angle?and?aspect?ratio).
-?Rewrote?GridGraph.Linecast?to?be?more?accurate?and?more?performant.
Previously?it?used?a?sampling?approach?which?could?cut?corners?of?obstacles?slightly?and?was?pretty?inefficient.
-?Linted?lots?of?files?to?remove?trailing?whitespace?fix?imports?use?‘var‘?when?relevant?and?various?other?small?tweaks.
-?Added?AstarData.layerGridGraph?shortcut.
-?Fixes
-?Fixed?compilation?errors?for?Windows?Store.
The?errors?mentioned?ThreadPriority?and?VolatileRead.
-?Fixed?layerGridGraph.GetNearest?sometimes?returning?the?wrong?node?inside?a?cell?(e.g?sometimes?it?would?always?return?the?node?with?the?highest?y?coordinate).\n
This?did?not?happen?when?the?node?size?was?close?to?1?and?the?grid?was?positioned?close?to?the?origin.
Which?it?of?course?was?in?all?my?tests?(tests?are?improved?now).
-?Fixed?GridGraph.Linecast?always?returning?false?(no?obstacles)?when?the?start?point?and?end?point?was?the?same.
Now?it?returns?true?(obstacle)?if?the?start?point?was?inside?an?obstacle?which?makes?more?sense.
-?Linecasts?on?layered?grid?graphs?now?use?the?same?implementation?as?the?normal?grid?graph.\n
This?fixed?a?TON?of?bugs.?If?you?relied?on?the?old?(buggy)?behaviour?you?might?have?to?change?your?algorithms?a?bit.
It?will?now?report?more?accurate?hit?information?as?well.
-?Fixed?documentation?on?layerGridGraph.Linecast?saying?that?it?would?return?false?if?there?was?an?obstacle?in?the?way
when?in?fact?exactly?the?opposite?was?true.
-?Fixed?inspector?GUI?throwing?exceptions?when?two?or?more?grid?graphs?or?layered?grid?graphs?were?visible?and?thickRaycast?was?enabled?on?only?one?of?them.
-?Fixed?a?few?options?only?relevant?for?grid?graphs?were?visible?in?the?layered?grid?graph?inspector?as?well.
-?Fixed?GridGraph.CheckConnection?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-27?20:37??AStartDemo\
?????文件?????5179212??2018-11-22?19:14??AStartDemo\A?Pathfinding.unitypackage
?????目錄???????????0??2018-11-27?20:37??AStartDemo\AStartDemo\
?????目錄???????????0??2018-11-27?20:37??AStartDemo\AStartDemo\Assets\
?????文件???????30760??2018-11-22?19:14??AStartDemo\AStartDemo\Assets\12.unity
?????文件?????????197??2018-11-22?19:14??AStartDemo\AStartDemo\Assets\12.unity.me
?????目錄???????????0??2018-11-27?20:37??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\
?????文件?????????191??2018-11-22?19:14??AStartDemo\AStartDemo\Assets\AstarPathfindingProject.me
?????文件???????62502??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\changelog.cs
?????文件?????????221??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\changelog.cs.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\Core.me
?????文件????????3637??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\defines.csv
?????文件?????????136??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\defines.csv.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\Editor.me
?????目錄???????????0??2018-11-27?20:37??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes.me
?????文件?????????326??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\_Example?Scenes.txt
?????文件?????????136??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\_Example?Scenes.txt.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example10_la
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example11_RVO.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example12_Procedural.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example13_Moving.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example2_Terrain.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example3_Recast_Navmesh1.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example4_Recast_Navmesh2.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example5_PointGraph.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example6_Navmesh.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example6_Navmesh_RichAI.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example7_Door1.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example8_PathTypes.me
?????文件?????????191??2018-11-22?19:15??AStartDemo\AStartDemo\Assets\AstarPathfindingProject\ExampleScenes\Example9_Penalties.me
............此處省略249個文件信息
評論
共有 條評論