文档

Unity Engine

Unity Engine

Average

Uses an Average algorithm when combining friction or bounciness.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Average = 0

Remarks

Given two friction or bounciness values, the Average algorithm used is:
(valueA + valueB) * 0.5
.