<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amaniku</author_name>
  <author_url>https://blog.hatena.ne.jp/amaniku/</author_url>
  <blog_title>ゲーム制作勉強中！あこがれだったプログラマーに今からなろう！</blog_title>
  <blog_url>https://amaniku.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>皿割りゲームを作っていて、どうにも不満が。弾の速度が遅くて、どうしても弾を撃つタイミングが難しい。かといって弾を早くすると、colliderの判定が間に合わず、貫通してしまう問題が発生してしまう。Rigidbodyの衝突判定の設定を変更する方法もあるみたいだけど、どうせなら、いっそcoliider判定をやめてRaycastで判定することにしてみた。 RaycastHit[] hits; private void Shoot() { //表現として弾を発射する。 GameObject _bullet = Instantiate(Bullet,transform.position,transfor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famaniku.hatenablog.com%2Fentry%2F2023%2F10%2F24%2F222946&quot; title=&quot;Unity：速度が早すぎて貫通！の対策 - ゲーム制作勉強中！あこがれだったプログラマーに今からなろう！&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>2023-10-24 22:29:46</published>
  <title>Unity：速度が早すぎて貫通！の対策</title>
  <type>rich</type>
  <url>https://amaniku.hatenablog.com/entry/2023/10/24/222946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
