Contents

minimumRadius

The minimum value for distance-based effects.

Declaration

var minimumRadius: Float { get set }

Discussion

When the distance between the node and a physics body is calculated, any distance shorter than the value stored in the minimumRadius property is treated as if it is equal to it. The default value is a very small (but nonzero) value.

See Also

Determining Which Physics Bodies Are Affected by the Field