PointEffector2D.forceVariation

Switch to Manual
public float forceVariation;

Description

The variation of the magnitude of the force to be applied.

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.

See Also: forceMagnitude.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答