<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uni-mal</author_name>
  <author_url>https://blog.hatena.ne.jp/uni-mal/</author_url>
  <blog_title>Unityでインディゲームを作る！</blog_title>
  <blog_url>https://indie-game-creation-with-unity.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>UnityのためのC#</anon>
  </categories>
  <description>今回はUnity公式のカメラ制御システムであるCinemachineを使って、マウスなどでカメラをコントロールしつつも、ダッシュ時には進行方向に自動で向いてくれるカメラを作ってみたいと思います。 ※本記事は Cinemachine 2.xが対象です。3.xへの対応は近日中にやります！ カメラの制御は特に3Dゲームで重要で、カメラ操作が多すぎるとプレイヤーへの大きな負担になってしまいます。ゲーム性にもよると思いますが、出来る限りカメラ操作をする量や場面を減らしたいものです。 そこで今回は歩き時は俯瞰でプレイヤーの周りを見る視点で、走るとプレイヤーの進行方向が良く見えるようにカメラが自動で向いて寄…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Findie-game-creation-with-unity.hatenablog.com%2Fentry%2Fautomatic-follow-camera-with-cm&quot; title=&quot;Unity Cinemachineを使って、ダッシュ時に自動で進行方向に向くTPSカメラを作る！ - 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/u/uni-mal/20240111/20240111213612.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-12 01:03:27</published>
  <title>Unity Cinemachineを使って、ダッシュ時に自動で進行方向に向くTPSカメラを作る！</title>
  <type>rich</type>
  <url>https://indie-game-creation-with-unity.hatenablog.com/entry/automatic-follow-camera-with-cm</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
