Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


frictionCombine

The friction combine mode used by the Collider2D.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public PhysicsMaterialCombine2D frictionCombine { get; }

Remarks

A Collider2D can be assigned a PhysicsMaterial2D either directly via to the _sharedMaterial, indirectly via the attached _sharedMaterial, the global default or if no PhysicsMaterial2D is assigned then a default value is used.
Additional Resources: PhysicsMaterial2D, _friction