今回はUnityのNavMesh機能を使って、プレイヤーを自動的に追いかける敵キャラクターの動きを作ってみます。 はじめに 『パックマン』のような俯瞰型の2Dゲームにも、『バイオハザード』のような一人称(または三人称)視点の3Dゲームにも、プレイヤー ...
今回は「敵を配置して、プレイヤーを追いかけさせる」処理を作っていきます! 前回はUnityちゃんを読み込んで、フィールドを走り回れるようにしました。 今回はその続き。ステージに迷路のような壁を配置して、NavMeshで経路探索できるようにします。
Unity-NavMesh-Zombie-Victim This is a complete illustrative project on NavMesh in Unity. In this Game the Zombies finds their target (Victim) with the help of the Nav Mesh Technology in Unity and ...
A demo implementation of Unity Entity Component System with NavMesh. I'm getting around 40-50 FPS with 100,000 entities traversing the navmesh. Requires Unity version ...