Contents

init(effect:)

Creates a force effect component with a single force effect, and automatically plays it.

Declaration

init(effect: any ForceEffectBase)

Parameters

  • effect:

    The effect to simulate forces with.