falloffExponent
An exponent that determines how the field’s strength diminishes with distance.
Declaration
var falloffExponent: CGFloat { get set }Discussion
When SceneKit calculates the force to be applied by a field, it attenuates the field’s effect by multiplying with the expression pow(distance - minRadius, -falloff). If the falloff exponent is greater than zero, the field’s effect is stronger on nearby bodies than on bodies farther away from its location.
The default falloff exponent varies by field type. For details, see the methods listed in Creating Physics Fields.