• <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++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
            The Path Corridor
            翻譯:kun 2014.12.4


            The path corridor provides a way of moving along a navigation path without worrying about the minutiae of managing the path.
            廊道提供了一種沿指定導航路徑進行移動,而不必擔心管理使用路徑數據時的細節問題。


            Core Class: PathCorridor
            核心類:PathCorridor


            In the simplest scenario, a path is a list of waypoints from a starting point to an end point. The waypoints form a connected set of line segments along which a navigation client moves. But 


            navigation is much more complex in the real world. There are locomotion limitations, local steering restrictions, dynamic obstacle avoidance, and good old floating point errors. All of these 


            issues can make management of a path difficult.
            在最簡單的情景里,一個路徑是一組從開始點到結束點的路點列表。如果能精確的按照使用此導航數據運動,角色的軌跡會是一組相互連接的線段。但是在真實環境下進行導航比這個要復雜的多。你需要考慮角色的運


            動能力的局限性(1)、局部轉向限制、避開動態障礙物、以及一些常見的浮點數錯誤。所有這些情況都會讓管理一個路徑的使用變得困難。


            Navigation based on a polygon mesh provides a different abstraction than just a list of waypoints. The path returned by the NavmeshQuery class is a list of polygons. Technically, a client can 


            move freely anywhere within this corridor of polygons. If a client strays outside the corridor, then the corridor can be patched up using local searches rather than full path replanning.
            在一個多邊形網格上進行導航比在一堆路點上進行導航要更加抽象一些。NavmeshQuery返回的Path是一組多邊形。技術上講,一個角色可以在這個廊道上的任意多邊形內自由的移動。如果一個角色跑出了這個廊道的范


            圍,廊道的范圍可以使用局部搜索進行擴大,而不是重新規劃整條路徑。


            The path corridor is loaded with a path, a start point, and a target point. It is then used to move the navigation client through the corridor. It handles path straightening, constraining the 


            client to the navigation mesh, and adjusting the corridor due to inaccurate client locomotion.
            廊道需要加載一個Path、一個起始點、一個目標點。然后用于角色在這個廊道內移動。它處理路徑的矯正、確保角色不會跑出Navmesh、以及當角色移動超出預期時修正廊道信息。


            The PathCorridor API is well documented. The only thing worth repeating here is a warning: You can't just initialize a corridor with a path and forget long distance path planning. Since the 


            path corridor class uses local searches to maintain the corridor, attempting to apply large delta movement to the corridor's position or target can result in a malformed corridor. Details are 


            in the API documentation.
            PathCorridor API已經有詳細的文檔說明了。在這里只有一點值得提一下:你不能只創建一個廊道然后一切都交給它去做,而不進行長路徑規劃。雖然廊道使用了局部搜索來維持廊道完整性,不過如果在廊道里產生一


            個大的運動距離,或者目標點離得很遠,會產生一個畸形的廊道(1)。更多的細節可以參考相關API文檔。




            (1)加速、減速、慣性之類的運動參數.
            (2)啥意思?
            亚洲国产成人久久精品99| 奇米综合四色77777久久| 青青青青久久精品国产h| 一本大道久久a久久精品综合| 久久久久久国产精品免费免费 | 精品国产青草久久久久福利| 久久久久久亚洲精品无码| 性做久久久久久久| 国产高清美女一级a毛片久久w| 精品伊人久久久| 久久99精品久久久久久9蜜桃| 久久久久久久91精品免费观看| 国产精品久久亚洲不卡动漫| 久久人人爽人人人人片av| 久久精品不卡| 久久青草国产精品一区| 一本色综合网久久| 无码任你躁久久久久久老妇| 久久精品国产亚洲网站| 色综合久久久久久久久五月| 色诱久久av| 久久99精品久久久久久齐齐 | 国产精品伊人久久伊人电影 | 久久午夜电影网| 无码人妻精品一区二区三区久久 | 麻豆成人久久精品二区三区免费| 久久久久亚洲AV成人网人人网站 | 亚洲精品白浆高清久久久久久| 91精品国产高清久久久久久91 | 精品国产91久久久久久久a| 久久精品草草草| 国产精品久久久久久搜索| 久久精品aⅴ无码中文字字幕重口 久久精品a亚洲国产v高清不卡 | 色综合久久久久无码专区 | MM131亚洲国产美女久久| 精品一二三区久久aaa片| 99久久国产精品免费一区二区| 亚洲国产成人精品91久久久| 日本国产精品久久| 久久久久波多野结衣高潮| 天堂久久天堂AV色综合 |