<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsubaki_t1</author_name>
  <author_url>https://blog.hatena.ne.jp/tsubaki_t1/</author_url>
  <blog_title>テラシュールブログ</blog_title>
  <blog_url>https://tsubakit1.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>物理演算</anon>
    <anon>回転とか移動とか拡大縮小とか</anon>
    <anon>スクリプト</anon>
    <anon>2D</anon>
  </categories>
  <description>剛体の落下位置を物理学で予測する。 powerの分だけ左にふっとばす感じのソースコードを用意。rigidbody2dでもrigidbodyでも良い。rigidbody.AddForce(Vector3.left * power, ForceMode.Impulse); もしくは rigidbody2D.AddForce(Vector2.right * -power, ForceMode2D.Impulse);次に、落下位置を予測する。Vector3 GetPos(float time, float power, float mass) { float halfGravity = Physics…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsubakit1.hateblo.jp%2Fentry%2F20140609%2F1402320689&quot; title=&quot;rigidbodyの落下位置を予測するには… - テラシュールブログ&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>http://tsubakit1.sakura.ne.jp/images/20140609222958d96.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-09 22:31:29</published>
  <title>rigidbodyの落下位置を予測するには…</title>
  <type>rich</type>
  <url>https://tsubakit1.hateblo.jp/entry/20140609/1402320689</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
