LoginSignup
0
0

More than 3 years have passed since last update.

A-FRAME: 物理演算でボーリングっぽい動きを実現してみる10(ピンに複合シェイプの基本形状を複数適用する)

Posted at

A-Frameをつかって物理演算ができるようにしてみます。
今回は複合シェイプを複数適用して、よりピンに近い物理的な形状を設定してみます。

3つのcylinderを組み合わせて、ピンの形状に近い物理的な形状を設定しました。
pin1.gif
demo

ボールを転がしてみます。
pin2.gif
demo

複合シェイプではないcylinderと似たような感じです。
物理的な形状がレンダリングされる形状に近いことは、ピンの動きにはあまり影響がなさそうです。

0
0
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
0
0