<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noshipu</author_name>
  <author_url>https://blog.hatena.ne.jp/noshipu/</author_url>
  <blog_title>のしメモ アプリ開発ブログ</blog_title>
  <blog_url>https://noshipu.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>オブジェクトを任意の方向に向けるtransform.LookAt()というメソッドがありますが、それを線形補間(Lerp)を使って表現する方法メモ コード # 2017/09/12 サンプルコードを修正(Time.time -&gt; Time.deltaTime) Vector3 targetPosition = Vector3.zero; // 任意の向く座標 float speed = 2f; // 回転スピードを定義 void Update () { Vector3 direction = targetPosition - transform.position; Quaternion toR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshipu.hateblo.jp%2Fentry%2F2016%2F10%2F08%2F080246&quot; title=&quot;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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-08 08:02:46</published>
  <title>LookAtを線形補間を使って使いたい</title>
  <type>rich</type>
  <url>https://noshipu.hateblo.jp/entry/2016/10/08/080246</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
