forceVariation
The variation of the magnitude of the force to be applied.
阅读时间1 分钟最后更新于 1 个月前
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.