« 衝突、重力、テスト | メイン | 新年明けましておめでとうございます。 »
2006年12月28日
物理 衝突 反発
衝突(自己解釈)

Flashではムービークリップ同士の衝突(重なったかどうか)は判別できる。
なので、その時に
1. 2点間の距離を求める。
2. 角度よりsin,cosからy,xを求める。
3. 上記x,yを反転させ反発係数をかけ、反発力とする。
投稿者 hiphi : 2006年12月28日 11:13
トラックバック
このエントリーのトラックバックURL:
http://hiphi.net/cgi/mt/mt-tb.cgi/71
コメント
Oh hell yes.... this is what I needed today. I fucking love your page, it makes me laugh every time I come here.
投稿者 Falls : 2008年04月07日 02:52
Hell yeah! This post sounds really good. Reading your blog is useful and interesting. Keep it that way.
投稿者 kris crash : 2008年04月09日 19:54