• <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久久99久久精品国产片果冻| 精品久久久久久无码中文野结衣| 久久久久人妻一区二区三区| 一本一本久久aa综合精品| 久久精品国产亚洲av影院| 久久线看观看精品香蕉国产| 亚洲一级Av无码毛片久久精品| 久久精品黄AA片一区二区三区| 久久综合九色欧美综合狠狠| 久久亚洲精品人成综合网| 99久久人妻无码精品系列蜜桃| 久久97久久97精品免视看秋霞| 无码AV波多野结衣久久| 久久综合伊人77777麻豆| 久久99国内精品自在现线| 亚洲综合久久夜AV | 日韩一区二区久久久久久| 一本一本久久A久久综合精品 | 狠狠色丁香婷综合久久| 日日狠狠久久偷偷色综合0| 久久久久久久综合日本亚洲| 久久香蕉国产线看观看精品yw| 久久国产成人午夜AV影院| 久久精品国产一区| 久久久久国产精品熟女影院| 中文字幕久久久久人妻| 亚洲精品第一综合99久久| 久久高清一级毛片| 99久久国产主播综合精品 | 久久天天躁狠狠躁夜夜av浪潮| 国产精品国色综合久久| 久久AV高清无码| 国产精品久久影院| 久久国产精品久久国产精品| 久久99中文字幕久久| 国产婷婷成人久久Av免费高清| 久久久久亚洲AV无码永不| 久久超碰97人人做人人爱| 97久久精品无码一区二区| 97久久超碰国产精品旧版| 国产ww久久久久久久久久|