文档

Unity Engine

Unity Engine

friction

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

Definition

public float friction { get; }

Remarks

When two Collider2D come into contact, their Collider2D.friction values combine.
This property represents the combined friction and is used by the physics solver to calculate the collision response.