• <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++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理
            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提供創(chuàng)建Navmesh、基于Navmesh的尋路和局部轉(zhuǎn)向避障。


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




            There are five main classes you'll be dealing with:
            經(jīng)常和你打交道的類有五個(gè):


            Note Note:
            CAINav uses the OpenGL coordinate system.
            注意:
            CAINav使用OpenGL坐標(biāo)系。


            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】類定義了導(dǎo)航網(wǎng)格的數(shù)據(jù)結(jié)構(gòu)和狀態(tài)。這個(gè)類用于保存用戶創(chuàng)建的導(dǎo)航網(wǎng)格數(shù)據(jù)和數(shù)據(jù)狀態(tài)。需要使用導(dǎo)航的地方一般是進(jìn)行尋路操作,偶爾也可以使用navmesh進(jìn)行一些交互。


            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】類是需要理解透徹的最重要的類。它提供了所有用戶級(jí)的導(dǎo)航功能,包括使用A*算法和Dijkstra算法進(jìn)行尋路、繩索牽引、搜索點(diǎn)和多邊形、射線查詢等等。


            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】是一個(gè)看起來很小的類,但是它對(duì)導(dǎo)航的影響很大。過濾器用來定義穿過某個(gè)區(qū)域時(shí)的代價(jià)。可以使用多個(gè)過濾器來實(shí)現(xiàn)自定義的導(dǎo)航行為。


            The PathCorridor class provides a way of moving along a navigation path without worrying about the minutiae of managing the path.
            【PathCorridor】類提供了一種沿導(dǎo)航路徑,而不必?fù)?dān)心管理路徑的細(xì)節(jié)(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】類是十分龐雜的一個(gè)類。它不僅為你處理了非常多的路徑管理相關(guān)的事情,同時(shí)也處理一些局部避障和避開其它尋路代理對(duì)象。也就是說,他可以讓所有的代理對(duì)象不會(huì)相互穿插。


            (1)需要實(shí)驗(yàn)。 
            一本大道久久a久久精品综合| 亚洲愉拍99热成人精品热久久 | 欧美久久一区二区三区| 久久久精品久久久久久| 狠狠色狠狠色综合久久| 久久国产乱子精品免费女| 久久无码AV中文出轨人妻| A狠狠久久蜜臀婷色中文网| 久久久久久毛片免费看 | 青青国产成人久久91网| 亚洲欧美成人久久综合中文网 | 麻豆av久久av盛宴av| 国产精品九九久久免费视频| 亚洲国产精品高清久久久| 久久se精品一区二区影院| 久久久无码精品亚洲日韩按摩| 久久99精品久久久久久不卡| 久久精品亚洲一区二区三区浴池| 久久综合一区二区无码| 中文字幕一区二区三区久久网站| 亚洲精品无码久久久久去q| 无码任你躁久久久久久老妇| 品成人欧美大片久久国产欧美... 品成人欧美大片久久国产欧美 | 国产精品18久久久久久vr| 亚洲综合伊人久久大杳蕉| 久久久久免费视频| 久久国产香蕉一区精品| 精品综合久久久久久97超人| 99久久精品日本一区二区免费| 亚洲欧美伊人久久综合一区二区| 伊人伊成久久人综合网777| 亚洲va久久久久| 久久久久久精品成人免费图片| 香港aa三级久久三级老师2021国产三级精品三级在| 久久久精品午夜免费不卡| 国产ww久久久久久久久久| 久久久精品视频免费观看| 久久久久国产一级毛片高清板| 久久se精品一区精品二区国产| 久久久久亚洲AV无码专区网站| 婷婷久久综合九色综合绿巨人|