기술 자료

Unity Engine

Unity Engine

Average

Uses an Average algorithm when combining friction or bounciness.
읽는 시간 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
.