frictionCombine
Determines how the effective friction is calculated when two Collider2D come into contact.
Read time 1 minuteLast updated 4 days ago
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