用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:physicsmaterial2d:physicsmaterial2d

PhysicsMaterial2D 二维物理材质

Namespace: UnityEngine

Inherits from: Object

Description 描述

Asset type that defines the surface properties of a Collider2D.

定义Collider2D的表面属性的资源类型。

Note: the 3D equivalent of this class is spelt as “PhysicMaterial” with no S, but this class is spelt “PhysicsMaterial” with an S.

注意:和该类类似的3D“PhysicMaterial”的拼写是不带s的,但是该类拼写PhysicsMaterial是带s的,注意看Physics。

See Also: PhysicMaterial class.

Variables 变量

bouncinessThe degree of elasticity during collisions.
碰撞过程中的弹性。
frictionCoefficient of friction.
摩擦系数。
script/unityengine/classes/physicsmaterial2d/physicsmaterial2d.txt · 最后更改: 2016/08/02 05:34 (外部编辑)