기술 자료

Unity Engine

Unity Engine

forceVariation

The variation of the magnitude of the force to be applied.
읽는 시간 1분최근 업데이트: 21일 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float forceVariation { get; set; }

Remarks

A random value between 0 and
forceVariation
is used and added to the force magnitude. The
forceVariation
can be negative to randomly reduce the force magnitude.
Additional Resources: PointEffector2D.forceMagnitude