Unity の 2D 物理にある「Joint2D」コンポーネントについて、実際の効果がわかるサンプルを作りました。
- マウスカーソルに合わせて白い四角が動きます
- 白い四角で黄色いオブジェクトを押して動かすことができます
- FrictionJoint は、スライダーでオブジェクトの「Mass(質量)」を変更できます
各 2D ジョイントの詳しい説明については、公式ユーザーマニュアルを参照してください。
あわせて読みたい
Unity - Manual: Unity Manual
The Unity Manual helps you learn and use the Unity engine. With the Unity engine you can create 2D and 3D games, apps and experiences.
リンク

コメント