今回はUnityのNavMesh機能を使って、プレイヤーを自動的に追いかける敵キャラクターの動きを作ってみます。 はじめに 『パックマン』のような俯瞰型の2Dゲームにも、『バイオハザード』のような一人称(または三人称)視点の3Dゲームにも、プレイヤー ...
Navmeshのバージョンはこちら。Unityは2022.3.8f.1使ってます。 Navmesh version キャラクターが歩けるエリアをNavigaionウィンドウからいつもベイクしてたんですが、NavmeshSurfaceというアタッチできるスクリプトがあり、それをアタッチしてベイクするという流れになっ ...
This game was made with the objective of practicing with the use of ai in the form of a stealth game. Objective: your objective is to reach to the safe zone without getting catched by the enemy ...