今回はUnityのNavMesh機能を使って、プレイヤーを自動的に追いかける敵キャラクターの動きを作ってみます。 はじめに 『パックマン』のような俯瞰型の2Dゲームにも、『バイオハザード』のような一人称(または三人称)視点の3Dゲームにも、プレイヤー ...
今回は「敵を配置して、プレイヤーを追いかけさせる」処理を作っていきます! 前回はUnityちゃんを読み込んで、フィールドを走り回れるようにしました。 今回はその続き。ステージに迷路のような壁を配置して、NavMeshで経路探索できるようにします。
You can create a release to package software, along with release notes and links to binary files, for other people to use. Learn more about releases in our docs.
You need Unity's AI Navigation package. When you install this package, it should depend on it and install it automatically for you. Install the package according to ...