今回はUnityのNavMesh機能を使って、プレイヤーを自動的に追いかける敵キャラクターの動きを作ってみます。 はじめに 『パックマン』のような俯瞰型の2Dゲームにも、『バイオハザード』のような一人称(または三人称)視点の3Dゲームにも、プレイヤー ...
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 ...
I've started gathering and configuring elements for Unity3D RTS style game which of course needs some pathfinding. Early on I found out that A Star Pathfinding by ...
今日もUnityちゃんを追い回…じゃなくて、敵のAIを作っていきます!💨 迷路ステージの中を、ぐるぐるパトロールする敵。一定範囲にプレイヤーが入ると、急にスイッチオンで追いかけてくる! そんな“索敵範囲”と“巡回ルート”を設定して、ドキドキの ...