• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 311, comments - 0, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
            An Introduction to Navigation
            翻譯:kun 2014.12.4 


            The navigation side of CAINav consists of features used to create and use navigation meshes for pathfinding and local steering.
            CAINav提供創建Navmesh、基于Navmesh的尋路和局部轉向避障。


            Core: org.critterai.nav
            Unity extensions: org.critterai.nav.u3d
            核心命名空間:org.critterai.nav
            Unity擴展:org.critterai.nav.u3d




            There are five main classes you'll be dealing with:
            經常和你打交道的類有五個:


            Note Note:
            CAINav uses the OpenGL coordinate system.
            注意:
            CAINav使用OpenGL坐標系。


            The Navmesh class defines the structure and state of the navigation mesh. The only user component that deals directly with this class on a regular basis is the component responsible for creating the mesh and managing its state. Normal navigation clients, the one's needing to perform pathfinding and such, rarely if ever interact directly with the navigation mesh.
            【Navmesh】類定義了導航網格的數據結構和狀態。這個類用于保存用戶創建的導航網格數據和數據狀態。需要使用導航的地方一般是進行尋路操作,偶爾也可以使用navmesh進行一些交互。


            The most important class to understand and become comfortable with is the NavmeshQuery class. It provides almost all of the client navigation features, including A* and Dijkstra path searches, string pulling, point and polygon searches, raycasting, etc.
            【NavmeshQuery】類是需要理解透徹的最重要的類。它提供了所有用戶級的導航功能,包括使用A*算法和Dijkstra算法進行尋路、繩索牽引、搜索點和多邊形、射線查詢等等。


            The NavmeshQueryFilter is a seemingly minor class, but it has a large impact on navigation. Filters are used to define the costs of traversing the mesh and flags that control which parts of the navigation mesh are included in operations. Multiple filters can be used to customize the navigation behavior on a per client basis.
            【NavmeshQueryFilter】是一個看起來很小的類,但是它對導航的影響很大。過濾器用來定義穿過某個區域時的代價??梢允褂枚鄠€過濾器來實現自定義的導航行為。


            The PathCorridor class provides a way of moving along a navigation path without worrying about the minutiae of managing the path.
            【PathCorridor】類提供了一種沿導航路徑,而不必擔心管理路徑的細節(1)。


            The CrowdManager is the big beast of the navigation classes. It not only handles a lot of the path management for you, but also local steering and dynamic avoidance between navigation clients. I.e. It can keep your agents from running into each other.
            【CrowdManager】類是十分龐雜的一個類。它不僅為你處理了非常多的路徑管理相關的事情,同時也處理一些局部避障和避開其它尋路代理對象。也就是說,他可以讓所有的代理對象不會相互穿插。


            (1)需要實驗。 
            伊人色综合九久久天天蜜桃| 久久精品这里只有精99品| 香蕉久久夜色精品国产尤物| 超级97碰碰碰碰久久久久最新| 一本一本久久aa综合精品 | 久久久高清免费视频| 久久久国产亚洲精品| 亚洲精品美女久久久久99小说| 国产精品99久久久精品无码| 久久99国产精品久久99果冻传媒| 久久久久国色AV免费观看| 亚洲AV无码久久精品狠狠爱浪潮| 国产午夜精品久久久久九九电影| 亚洲精品tv久久久久久久久| 久久精品无码专区免费| 久久国产精品无码一区二区三区| 久久强奷乱码老熟女| 99久久精品国内| 97精品依人久久久大香线蕉97| 久久免费视频一区| 91久久香蕉国产熟女线看| 久久不见久久见免费视频7| 久久99精品国产99久久6| 久久综合丝袜日本网| 亚洲精品高清国产一线久久| 四虎影视久久久免费| 久久精品二区| 欧美国产精品久久高清| 国产精品美女久久久免费| 久久精品国产精品国产精品污| 久久久久国产精品三级网| 2021少妇久久久久久久久久| 国产精品久久久久蜜芽| 久久久精品人妻一区二区三区蜜桃| 999久久久免费国产精品播放| 久久天天躁狠狠躁夜夜avapp| 久久人人添人人爽添人人片牛牛| 久久综合狠狠综合久久97色| 国产综合成人久久大片91| 久久婷婷人人澡人人| 香蕉久久夜色精品国产尤物|