Skip to content

格式

typescript
PhysicMaterial.bounceCombine

所属类: PhysicMaterial

描述

物体之间的弹性碰撞力的组合方式。

该值为一个枚举值,决定了当两个物体发生碰撞时,它们的反弹速度如何相互影响。详细介绍见PhysicMaterialCombine。

参数

参数名类型描述

返回值

类型描述
PhysicMaterialCombine弹性碰撞力的组合方式

代码示例