Documentation

Unity Engine

Unity Engine

forceVariation

The variation of the magnitude of the force to be applied.
Read time 1 minuteLast updated a day ago

Definition

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.