• <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)啥意思?
            亚洲精品tv久久久久| 人人狠狠综合久久亚洲高清| 一本久久知道综合久久| 久久综合鬼色88久久精品综合自在自线噜噜| 伊人久久免费视频| 久久亚洲视频| 久久久久人妻一区二区三区vr| 国产精品久久久久…| 久久久久综合国产欧美一区二区 | 久久久久久亚洲精品无码| 欧美日韩久久中文字幕| 色综合久久久久网| 久久久久亚洲AV无码网站| 日韩精品国产自在久久现线拍| 一本大道久久东京热无码AV| 久久精品亚洲日本波多野结衣 | 欧美久久精品一级c片片| 久久久久久精品无码人妻| 无码任你躁久久久久久| 亚洲乱码精品久久久久..| 欧美日韩久久中文字幕| 品成人欧美大片久久国产欧美...| 无码AV中文字幕久久专区| 久久夜色精品国产| 国产综合成人久久大片91| 国产精品无码久久四虎| 91精品国产色综合久久| 久久99国产综合精品免费| 韩国无遮挡三级久久| 久久91精品国产91久久户| 久久久久久午夜成人影院| 久久人人爽人人人人片av| 色青青草原桃花久久综合| 亚洲国产日韩欧美综合久久| 久久九色综合九色99伊人| 久久影视国产亚洲| 久久亚洲熟女cc98cm| 亚洲中文字幕无码久久2020| 久久久精品国产sm调教网站 | 久久av免费天堂小草播放| 精品无码人妻久久久久久|