Property movementSpeedVariancePercentage
movementSpeedVariancePercentage
Adjust movement speed based on distance from the target using a tolerance percentage. 0% for constant speed. For example, with a variance of 25% (0.25), and a speed of 6, the upper bound is 7.5, which is reached as the target is approached. If the target is far from the object, the speed will trend toward the lower bound, which would be 4.5 in this case.
Declaration
public float movementSpeedVariancePercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| float |