<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kentem_dev_ko_hattori</author_name>
  <author_url>https://blog.hatena.ne.jp/kentem_dev_ko_hattori/</author_url>
  <blog_title>KENTEM TechBlog</blog_title>
  <blog_url>https://tech.kentem.jp/</blog_url>
  <categories>
    <anon>3D</anon>
    <anon>モバイル</anon>
  </categories>
  <description>前回の記事では指定された点が多角形の内部に存在するか否かを、平面を用いて判定を行う方法を紹介しました。 本記事では、Ray Casting Algorithmを用い多角形の内外判定を行う方法を紹介します。 中身は複雑に見えますが参考URLや本文中のWikipediaからもわかるように広く知られたアルゴリズムです。 Unityで標準搭載されているPlaneやRayの仕組みを用いた記事がなかったため勉強として作成してみました。 本記事に関して 多角形の内外判定を行う方法のシリーズの4本目です。 UIや必要な事前準備は同じであるため、最初の記事からご覧いただけると理解しやすいと考えております。 この…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.kentem.jp%2Fentry%2F2025%2F11%2F07%2F090000&quot; title=&quot;【Unity】多角形の内外判定を行う方法 #4 (Ray Casting Algorithmを用いる) - KENTEM TechBlog&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/k/kentem_dev_ko_hattori/20251024/20251024125618.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-07 09:00:00</published>
  <title>【Unity】多角形の内外判定を行う方法 #4 (Ray Casting Algorithmを用いる)</title>
  <type>rich</type>
  <url>https://tech.kentem.jp/entry/2025/11/07/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
