init(strength:direction:)
Creates a constant force effect.
Declaration
init(strength: Double, direction: SIMD3<Float>)Parameters
- strength:
The magnitude of the force.
- direction:
The direction of the force relative to the effect’s transform.
Creates a constant force effect.
init(strength: Double, direction: SIMD3<Float>)The magnitude of the force.
The direction of the force relative to the effect’s transform.