update(parameters:)
Defines how the custom force effect computes forces at each physics simulation step.
Declaration
func update(parameters: inout ForceEffectParameters)Parameters
- parameters:
On input, the rigid body parameters declared in Parametertypes. On output, the computed forces and torques.