ランタイム中にスポーンした敵オブジェクトが動かなかった。 NavMeshAgentをラップしたEnemyControllerコンポーネントを使用して敵を制御しており、基本的にはNavMeshAgentのSetDestinationを使用して目的地に移動させるシンプルな仕様。 目的地を指定するだけの処理 ...
NavMesh.Raycast()は通行可能かを簡易的に調べる際にとても便利ですが、建物など階層構造になっている場合は注意が必要です。 例えば、ビルの1階から2階にNavMesh.Raycast()をした場合、false(衝突無し)が返ります。これは、NavMeshを二次元で見るとrayが境界に衝突 ...
A Unity C# project that implements navigation mesh generation and pathfinding for dynamic maps. The system computes traversable areas, connects convex polygons, and finds optimal routes for moving ...
This Unity project demonstrates the use of NavMesh AI Agents. Your objective is to collect all the yellow blocks while avoiding the red enemy to win the game.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する