0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Wander Script

Last updated at Posted at 2024-05-01

はじめに

仕事で、下記のLowPolyAnimatedAnimalsを購入したのですが、
wander scriptというAIのような仕組みがついてきたので、それの覚書です。

Wander Scriptとは

使い方

AI Navigationのインストール

スクリーンショット 2024-05-10 17.52.58.png

Window -> AI から ナビゲーションとナビゲーション(廃止)を選択

スクリーンショット 2024-05-10 17.54.10.png

スクリーンショット 2024-05-10 17.54.35.png

地面になるエリアを選択してベイクを押下

スクリーンショット 2024-05-10 17.56.54.png

青くなった場所が地面になる

スクリーンショット 2024-05-10 17.57.02.png

スクリーンショット 2024-05-01 14.07.22.png

NavMesh Agent

NavMeshAgent コンポーネントは、相互に回避しながら目的地点に向かって進行するキャラクターの作成に利用できます。エージェントはナビメッシュを使ってゲーム世界の状況を判断し、それに基づき他のエージェントや障害物を回避することができます。経路探索や空間の判断は、ナビメッシュエージェントのスクリプト API によって行われます。

スクリーンショット 2024-05-01 14.07.33.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?