<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Raspberly</author_name>
  <author_url>https://blog.hatena.ne.jp/Raspberly/</author_url>
  <blog_title>Raspberlyのブログ</blog_title>
  <blog_url>https://raspberly.hateblo.jp/</blog_url>
  <categories>
    <anon>Unityネタ/Tips</anon>
  </categories>
  <description>今回はこちらの方法をやってみます。 Twitterから流れてきたTipsです。 Unityで球やボックスの内側から外に出ないような逆のColliderがほしい時は、球やボックスの面を反転したMeshを用意してMeshColliderを使うらしい。面を反転するのはmesh.triangles = mesh.triangles.Reverse().ToArray();でいける — tatsunoru (@tatsunoru) September 11, 2018 既存のSphereやCubeは外側からしか衝突しませんが、これを反転させる方法です。 ちなみに面が全て反転するのでレンダリングも反転しま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fraspberly.hateblo.jp%2Fentry%2F2018%2F09%2F13%2F000000&quot; title=&quot;SphereやCubeのColliderを逆にする - Raspberlyのブログ&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/R/Raspberly/20180912/20180912223850.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-13 00:00:00</published>
  <title>SphereやCubeのColliderを逆にする</title>
  <type>rich</type>
  <url>https://raspberly.hateblo.jp/entry/2018/09/13/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
