29
31

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unityで相手の距離から放物線で命中する実装

Last updated at Posted at 2015-03-09

概要

タイトルのものを作ろうと調べたところ、まとまったサイトが無いので備忘録
AI作るときに普通に使うしね
参考になったものを書いときます

今回やりたかったもの

YouTube

[Code]
(http://forum.unity3d.com/threads/throw-an-object-along-a-parabola.158855/)が公開されているのでこれを利用した

計算式

[高度計算サイト]
(http://keisan.casio.jp/exec/system/1204505832)では下記の式が公開されている

  • 空気抵抗有する自由落下(時間から計算)
  • 空気抵抗有する自由落下(距離から計算)
  • 自由落下(時間から計算)
  • 自由落下(距離から計算)
  • 自由落下(速度から計算)
  • 自由落下のエネルギー計算
  • 放物運動(初速と角度から計算)
  • 放物運動(高度と距離から計算)
  • 放物運動(初速と時間から計算)
  • 放物運動(時間と距離から計算)
  • 放物運動(角度と距離から計算)
  • 放物運動(角度と高度から計算)
  • 高低差ある放物運動(初速と角度から計算)
  • 高低差ある放物運動(高度と距離から計算)

おすすめリンク

29
31
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
29
31

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?