Edit

Share via


SKFieldNode.CreateTurbulenceField(nfloat, nfloat) Method

Definition

Creates a node that applies randomized forces to neighboring physics bodies, with an average force that is proportional to the physics body's speed.

[Foundation.Export("turbulenceFieldWithSmoothness:animationSpeed:")]
public static SpriteKit.SKFieldNode CreateTurbulenceField (nfloat smoothness, nfloat speed);
static member CreateTurbulenceField : nfloat * nfloat -> SpriteKit.SKFieldNode

Parameters

smoothness
nfloat
speed
nfloat

Returns

Attributes

Applies to