<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yasu9780</author_name>
  <author_url>https://blog.hatena.ne.jp/yasu9780/</author_url>
  <blog_title>AIプログラムとかUnityゲーム開発について</blog_title>
  <blog_url>https://yasu9780.hatenablog.com/</blog_url>
  <categories>
    <anon>Zombie</anon>
  </categories>
  <description>navMeshを入れてみました。味方AIから逃げてもちゃんと追跡してきます(*´ω｀*) navMeshAgentは使わずに、２点で問い合わせると経路パスを返してくれる関数を用います。 この関数は同期処理なので、複雑な経路の場合はフレーム落ちの原因になります。 navMeshAgentのsetDestinationは非同期なので、フレーム落ちが気になる場合はダミーのagentを経路探索に使うといいかも。 navMeshAgentはrigidBodyと競合するし、ジャンプができないといった問題がありますが、普通のrigidbodyのキャラクターに、経路探索だけnavMesh使えば、問題ないと思い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyasu9780.hatenablog.com%2Fentry%2F2016%2F10%2F09%2F002433&quot; title=&quot;ThirdPersonShooterを作る(5) - AIプログラムとかUnityゲーム開発について&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yasu9780/20161009/20161009001752.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-09 00:24:33</published>
  <title>ThirdPersonShooterを作る(5)</title>
  <type>rich</type>
  <url>https://yasu9780.hatenablog.com/entry/2016/10/09/002433</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
