<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Holomoto-Sumire</author_name>
  <author_url>https://blog.hatena.ne.jp/Holomoto-Sumire/</author_url>
  <blog_title>夜風のMixedReality</blog_title>
  <blog_url>https://redhologerbera.hatenablog.com/</blog_url>
  <categories>
    <anon>3Dモデリング</anon>
    <anon>Unity</anon>
  </categories>
  <description>本日はUnity枠です。 〇環境 ・Unity2022.3.26f1 ・Windows11PC 〇任意の頂点をメッシュの辺に沿って動かす BlenderやMayaでは頂点を選択して辺場を動かすことができます。 これはメッシュの形状を崩さずにトポロジーを変化させるなど非常に強力なモデリングの手法です。 今回はUnityでメッシュの中の任意の頂点を返上で動かしていきます。 〇Unity側の実装 Unity側では頂点はmesh.verticesとして頂点ごとに対応したvector3型の配列で取得することができます。 頂点を動かすためには最初の頂点座標を取得し、一つ前の頂点(隣接頂点)の座標を求め移動…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredhologerbera.hatenablog.com%2Fentry%2F2024%2F09%2F17%2F232309&quot; title=&quot;Unityでメッシュの任意の頂点を辺に沿って動かす - 夜風のMixedReality&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/H/Holomoto-Sumire/20240917/20240917231308.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-17 23:23:09</published>
  <title>Unityでメッシュの任意の頂点を辺に沿って動かす</title>
  <type>rich</type>
  <url>https://redhologerbera.hatenablog.com/entry/2024/09/17/232309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
