frictionCombine
Determines how the effective friction is calculated when two Collider2D come into contact.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public PhysicsMaterialCombine2D frictionCombine { get; set; }
Remarks
Default to PhysicsMaterialCombine2D.Mean which allows either Collider2D to reduce friction to zero. For example, anything slides on ice.
Additional Resources: PhysicsMaterialCombine2D