<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bluebirdofoz</author_name>
  <author_url>https://blog.hatena.ne.jp/bluebirdofoz/</author_url>
  <blog_title>MRが楽しい</blog_title>
  <blog_url>https://bluebirdofoz.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>本日は Unity の小ネタ枠です。 指定のトランスフォームを中心にオブジェクトを回転させながら追従させる方法を記事にします。 今回は2つの異なるトランスフォームを参照して動的に回転半径と回転軸を変動させてみます。 前提条件 前回記事の続きです。 bluebirdofoz.hatenablog.com上記の記事では回転の半径と回転軸をInspectorで指定していました。 今回は更に別のトランスフォームを参照し、その動きに合わせて動的に回転の半径と回転軸を変動させてみます。 Vector3.Dot 2つのベクトルの内積を算出します。 本記事では2オブジェクト間のベクトルとY軸の平行を検出するた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbluebirdofoz.hatenablog.com%2Fentry%2F2021%2F07%2F07%2F233804&quot; title=&quot;指定のトランスフォームを中心にオブジェクトを回転させながら追従させる その２ - MRが楽しい&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/bluebirdofoz/20210707/20210707233550.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-07 23:38:04</published>
  <title>指定のトランスフォームを中心にオブジェクトを回転させながら追従させる その２</title>
  <type>rich</type>
  <url>https://bluebirdofoz.hatenablog.com/entry/2021/07/07/233804</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
