今回はUnityのNavMesh機能を使って、プレイヤーを自動的に追いかける敵キャラクターの動きを作ってみます。 はじめに 『パックマン』のような俯瞰型の2Dゲームにも、『バイオハザード』のような一人称(または三人称)視点の3Dゲームにも、プレイヤー ...
今回は「敵を配置して、プレイヤーを追いかけさせる」処理を作っていきます! 前回はUnityちゃんを読み込んで、フィールドを走り回れるようにしました。 今回はその続き。ステージに迷路のような壁を配置して、NavMeshで経路探索できるようにします。
Moving an agent on a NavMesh in Unity is great for static environments. Navigating on moving platforms (e.g. a moving ship) can be challenging regarding jitter and networking. This project aims to ...
An API based on the custom pathfinding code I keep having to write over and over. I thought it would be nice to have my base pathfinding code in one place, where other people can also benefit from it.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する