dragField()
Creates a field node that applies a force that resists the motion of physics bodies.
Declaration
class func dragField() -> SKFieldNodeReturn Value
A new drag field node.
Discussion
The force is applied in the opposite direction of the physics body’s velocity property and has a magnitude proportional to the field’s strength property and the physics body’s speed. This field models Stoke’s Law.