Contents

init(strength:smoothness:speed:)

Creates a turbulence force effect.

Declaration

init(strength: Double, smoothness: Double, speed: Double)

Parameters

  • strength:

    The magnitude of the force.

  • smoothness:

    The amount of randomness used in the turbulence effect.