Method DistanceDecay
DistanceDecay(float)
Calculate the the decay applicable at a given distance from the impact point
Declaration
public float DistanceDecay(float distance)
Parameters
| Type | Name | Description |
|---|---|---|
| float | distance |
Returns
| Type | Description |
|---|---|
| float | Scale factor 0...1 |