Version: 2022.2
言語: 日本語
Custom Collider 2D
2D joints

Physics Material 2D

A Physics Material 2D is used to adjust the friction and bounce that occur between 2D physics objects when they collide.

For more detailed information on game physics, see 3D Physics.

Use a Physics Material 2D

To create a Physics Material 2D, go to Assets > Create > 2D > Physics Material 2D.

プロパティ 機能
Friction Set the coefficient of friction for this collider.
Bounciness Set the degree to which collisions rebound from the surface. A value of 0 indicates no bounce while a value of 1 indicates a perfect bounce with no loss of energy.

To use your created Physics Material 2D, drag it onto an object with an attached 2D Collider component or drag it onto the collider in the Inspector window.

Note: The equivalent asset in 3D physics is referred to as a Physic Material.

PhysicsMaterial2D

Custom Collider 2D
2D joints
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961