Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
いくつかのサークルが動き回っています。linearVelocity各円の を設定します。しかし、それらが衝突すると、速度が変化します。場合によっては、速度の垂直成分、水平成分、またはその両方がゼロになり、円が動かなくなることがあります。
linearVelocity
すべてのボディの反発係数が同じで、重力がなく、角度減衰と線形減衰がゼロです。
ただし、円の半径は変化します。同じ半径の円が衝突するときも速度に変化があります。