• <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久久伊人精品综合观看| 亚洲欧美久久久久9999| 亚洲精品高清国产一久久| 久久www免费人成精品香蕉| 亚洲va中文字幕无码久久| 国产女人aaa级久久久级| 色综合久久夜色精品国产| 91精品国产色综久久 | 久久久久国产一级毛片高清板| 亚洲人成无码网站久久99热国产| 国内精品人妻无码久久久影院 | 久久亚洲中文字幕精品一区| 亚洲中文字幕无码久久综合网| 国产免费久久精品丫丫| AV无码久久久久不卡蜜桃| 亚洲午夜久久久影院| 亚洲国产天堂久久久久久| 久久精品二区| 久久激情五月丁香伊人| a级成人毛片久久| 久久99精品久久只有精品| 久久久亚洲欧洲日产国码是AV| 久久久国产精品| 久久久久国产精品嫩草影院| 久久成人国产精品二三区| 国产精品久久网| 国产一久久香蕉国产线看观看 | 国产一区二区三区久久精品| 免费精品久久天干天干| 久久夜色撩人精品国产小说| 国产成人精品综合久久久| 成人精品一区二区久久 | 香港aa三级久久三级老师2021国产三级精品三级在 | 久久久久亚洲AV无码麻豆| 久久精品国产乱子伦| 久久久久高潮综合影院| 久久久久亚洲精品日久生情| 亚洲狠狠婷婷综合久久蜜芽| 久久久久人妻精品一区二区三区| 亚洲AV无一区二区三区久久| 97久久久久人妻精品专区|