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.
Creates a force effect component with a single force effect, and automatically plays it.
init(effect: any ForceEffectBase)The effect to simulate forces with.