Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bounceCombine

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

Definition

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

Remarks

A Collider2D can have a PhysicsMaterial2D assigned in several ways: directly through the _sharedMaterial, indirectly through the attached _sharedMaterial, or by using the global default. If no PhysicsMaterial2D is assigned, a default value is used.
Additional Resources: PhysicsMaterial2D, _bounciness