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