• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理
            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.
            廊道提供了一種沿指定導(dǎo)航路徑進行移動,而不必擔(dān)心管理使用路徑數(shù)據(jù)時的細節(jié)問題。


            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.
            在最簡單的情景里,一個路徑是一組從開始點到結(jié)束點的路點列表。如果能精確的按照使用此導(dǎo)航數(shù)據(jù)運動,角色的軌跡會是一組相互連接的線段。但是在真實環(huán)境下進行導(dǎo)航比這個要復(fù)雜的多。你需要考慮角色的運


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


            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.
            在一個多邊形網(wǎng)格上進行導(dǎo)航比在一堆路點上進行導(dǎo)航要更加抽象一些。NavmeshQuery返回的Path是一組多邊形。技術(shù)上講,一個角色可以在這個廊道上的任意多邊形內(nèi)自由的移動。如果一個角色跑出了這個廊道的范


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


            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、一個起始點、一個目標點。然后用于角色在這個廊道內(nèi)移動。它處理路徑的矯正、確保角色不會跑出Navmesh、以及當角色移動超出預(yù)期時修正廊道信息。


            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已經(jīng)有詳細的文檔說明了。在這里只有一點值得提一下:你不能只創(chuàng)建一個廊道然后一切都交給它去做,而不進行長路徑規(guī)劃。雖然廊道使用了局部搜索來維持廊道完整性,不過如果在廊道里產(chǎn)生一


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




            (1)加速、減速、慣性之類的運動參數(shù).
            (2)啥意思?
            青草国产精品久久久久久| 久久精品国产清自在天天线| 性做久久久久久久久久久| 久久久久国产| 亚洲午夜无码久久久久| 久久99精品国产99久久| 欧美成a人片免费看久久| 欧美一区二区三区久久综合| 久久久国产精品福利免费| 亚洲人AV永久一区二区三区久久 | 久久亚洲国产精品123区| 国色天香久久久久久久小说 | 久久精品综合一区二区三区| 中文字幕精品久久久久人妻| 99久久99久久| 久久一日本道色综合久久| 久久久久女教师免费一区| 久久亚洲私人国产精品vA| 久久久综合香蕉尹人综合网| 高清免费久久午夜精品| 99久久无色码中文字幕人妻| 国产精品va久久久久久久| 国产精品久久毛片完整版| 亚洲日韩中文无码久久| 97精品伊人久久大香线蕉| 久久九色综合九色99伊人| 伊人色综合久久| 老司机国内精品久久久久| 久久精品国产亚洲AV高清热| 大香伊人久久精品一区二区| 久久精品国产一区二区 | 国产福利电影一区二区三区久久老子无码午夜伦不 | 亚洲国产精久久久久久久| 欧洲精品久久久av无码电影| 国产欧美久久久精品影院| 久久久久99精品成人片三人毛片| 日韩精品国产自在久久现线拍| 久久天天躁狠狠躁夜夜躁2O2O| 77777亚洲午夜久久多喷| 亚洲国产精品无码久久| 久久久无码精品亚洲日韩蜜臀浪潮|