Creates an action that animates a change of a physics field’s strength to a value relative to the existing value.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The value to add to 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 reversible; the reverse is created as if the following code is executed: