文档

Unity Engine

Unity Engine

bounciness

The effective bounciness used for the ContactPoint2D.
阅读时间1 分钟最后更新于 2 天前

Definition

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.