ナビメッシュ障害物
アーキテクチャ

オフメッシュリンク

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

The walkable floor area of a scene will often be made up of a number of discontinuous sections. This might happen, say, when a room has a floor split into two levels but a designer may structure a navmesh like this simply for convenience while working. You can use Off-Mesh Links to connect separate sections of a navmesh. With the connections in place, an agent will be able to plot a path between sections via the links.

プロパティ

プロパティ: 特徴:
Start Off-mesh linksの終了位置を示すオブジェクト
End Off-mesh linksの終了位置を示すオブジェクト
Cost Override 正の値の場合,経路リクエストを処理する際に経路コストを算出するのに用います。正の値でない場合,デフォルトのコストが適用される(ゲームオブジェクトが所属するレイヤーのコスト)。
Bi-Directional オンに設定した場合,Off-mesh linksは双方向に移動することが出来ます。オフに設定した場合,開始(Start)から終了(End)の方向しか移動できません
Activated このリンクを経路探索で使用するかのフラグ。このプロパティがfalseの場合,Off-mesh linksは無視されます。
Auto Update Positions Should the endpoints of the link update automatically when their Transforms move?
Navigation Layer The Navigation Layer to which this link belongs.

詳細

If the start or end transforms are unassigned, or if the position of either the start or end transforms is too far away from the NavMesh to find valid positions, the off-mesh links will not be generated. In this case, an error is displayed in the Console window.

Further details about the usage of off-mesh links are available on this page in the Navigation section of the manual.

ナビメッシュ障害物
アーキテクチャ