用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:physicmaterial:physicmaterial

PhysicMaterial 物理材质

class in UnityEngine/Inherits from: Object

Description 描述

Physics material describes how to handle colliding objects (friction, bounciness).

物理材质描述如何处理碰撞对象(摩擦,弹力)。

Variables 变量

bounceCombineDetermines how the bounciness is combined.
明确弹力如何组合。
bouncinessHow bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.
表面是多么有弹性的?值为0将不会有弹性。值为1将是没有任何能量损耗的弹力。
dynamicFrictionThe friction used when already moving. This value has to be between 0 and 1.
已经移动时摩擦力被使用。该值在0到1之间。
frictionCombineDetermines how the friction is combined.
明确摩擦力如何结合。
staticFrictionThe friction coefficient used when an object is lying on a surface.
当对象横卧在表面时,摩擦力系数被使用。

Constructors 构造

PhysicMaterialCreates a new material.
创建一个新的材质。
script/unityengine/classes/physicmaterial/physicmaterial.txt · 最后更改: 2016/08/02 05:24 (外部编辑)