Creates an action that animates a change of a physics field’s strength.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The new strength for the field.
The duration of the animation.
A new action object.
When the action executes, the field node’s
strength property animates from its current value to its new value.
This action is not reversible; the reverse of this action has the same duration but does not do anything.