Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bounceCombine

Determines how the effective bounciness is calculated when two Collider2D come into contact.
Read time 1 minuteLast updated 8 days ago

Definition

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

Remarks

Defaults to PhysicsMaterialCombine2D.Maximum which allows either Collider2D to maximize bounciness. For example, a very bouncy ball always remains very bouncy.
Additional Resources: PhysicsMaterialCombine2D