friction
The effective friction used for the ContactPoint2D.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
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.
Additional Resources: PhysicsMaterial2D.friction, ContactPoint2D.bounciness