查看: 1913|回复: 5
打印 上一主题 下一主题

Pathfinding,unity3d寻径相关资料

[复制链接]

2508

主题

2

听众

3万

积分

资深设计师

Rank: 7Rank: 7Rank: 7

纳金币
32806
精华
12

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

跳转到指定楼层
楼主
发表于 2012-7-27 17:09:29 |只看该作者 |倒序浏览
老外开发的关于unity3d那么的一个演示。
The focus for the A* Pathfinding project is to provide an out-of-the-box pathfinding system.

The system is easy to set up and it scans the surroundings automatically.

   

Terrain Demo
Building Demo
Navmesh Demo
< p>
Features
Easy to set up

Requires no external data or code libraries

Very fast (see performance)

Can use multiple grids

3D pathfinding is supported

Runtime changing of the grid, for example, placing a building on the ground

Node linking

Free for non-commercial projects (see license for info about commercial use)

Can***cute over several frames (meaning less/no lag)

Path caching

Path simplification

Support for navmeshes

Support for creating your own procedural grid generators

Works with Unity iPhone
Performance
For example: A path with 168 points and which searched 316 nodes took about 0.1 seconds to complete, it was spread over 10 frames.

Another more complicated example: A path with 156 nodes and which searched 3730 nodes took about 0.43 seconds to complete and was spread over 42 frames. These example show much longer paths than you are likely to need (in case you are not making an RTS game).

An example which is a bit more normal goes like this: A path with 33 nodes took about 0.006 seconds to complete, it was spread over 1 frame and searched 162 nodes.
Results can very very much depending on computer specs and things like that, so it is hard to give a good example.

These tests were done in the Unity editor using an iMac G4.
Licence


A* Pathfinding by Aron Granberg is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.

If you want to use the code for commercial projects please contact me at aron.g@me.com.

A license to use the project/code in commercial applications/games costs US $100, although other options such as profit sharing can be discussed if that suits the person/company in question better.
Download
Download A* Pathfinding Project version 2.5
Documentation
All Docs

Get Started Guide?

FAQ

How do I use my code with the A* script?

API and components

Using Unity iPhone
How does A* pathfinding work?
If you have any questions or things you would want to see added to the system, please post it as a comment or write to me at aron[dot] g[at]me[dot]com.
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

315

主题

0

听众

1万

积分

资深设计师

Rank: 7Rank: 7Rank: 7

纳金币
10878
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2012-7-27 21:48:26 |只看该作者
犀利啊!!!!!!!!!!!
回复

使用道具 举报

2508

主题

2

听众

3万

积分

资深设计师

Rank: 7Rank: 7Rank: 7

纳金币
32806
精华
12

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2012-8-3 18:02:03 |只看该作者
我爱纳金网~www.narkii.com
回复

使用道具 举报

Zack    

459

主题

1

听众

5478

积分

高级设计师

Rank: 6Rank: 6

纳金币
5531
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

地板
发表于 2012-11-25 20:20:36 |只看该作者
学习了。谢谢!
回复

使用道具 举报

may    

8830

主题

81

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
52336
精华
343

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

5#
发表于 2012-11-27 03:00:37 |只看该作者
lZ的回复很不错,支持!
回复

使用道具 举报

955

主题

164

听众

7万

积分

版主

Rank: 7Rank: 7Rank: 7

纳金币
59338
精华
28

活跃会员 荣誉管理 突出贡献 优秀版主 论坛元老

6#
发表于 2012-11-27 18:27:29 |只看该作者
里面的连接已经有问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-11-24 09:51 , Processed in 0.096080 second(s), 29 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部