<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bibinbaleo</author_name>
  <author_url>https://blog.hatena.ne.jp/bibinbaleo/</author_url>
  <blog_title>トマシープが学ぶ</blog_title>
  <blog_url>https://bibinbaleo.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>Timelineでキャラのアニメーションとカメラ目線のLookAtオンオフを制御しているのだが、Timelineの初手のモーションで顔が下を向いてると、そのあとLookAtをオンにしたときにその最初の顔の方向に引っ張られているのか、カメラより下を見てしまう ブログ用に別のプロジェクトで再現させようと思って、独自のLookAt関数で試したら再現しなかったので、LookAtを制御しているコードの問題かも とりあえず、最初の1フレームをまっすぐポーズのアニメーションにして、その間モデルを非表示にするという力技で回避した</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbibinbaleo.hatenablog.com%2Fentry%2F2023%2F11%2F10%2F112932&quot; title=&quot;Timelineで初手のアニメーションで顔がまっすぐじゃないとLookAtで目線が合わない - トマシープが学ぶ&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/b/bibinbaleo/20231109/20231109105919.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-10 11:29:32</published>
  <title>Timelineで初手のアニメーションで顔がまっすぐじゃないとLookAtで目線が合わない</title>
  <type>rich</type>
  <url>https://bibinbaleo.hatenablog.com/entry/2023/11/10/112932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
