Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bounciness

The effective bounciness used for the ContactPoint2D.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float bounciness { get; }

Remarks

When two Collider2D come into contact, both their Collider2D.bounciness values are combined.
This property provides the result of that combination and is used by the physics solver when calculating a collision response.