ドキュメント

Unity Engine

Unity Engine

bounceCombine

Determines how the effective bounciness is calculated when two Collider2D come into contact.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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