Contents

scope

The area affected by the field, either inside or outside its region.

Declaration

var scope: SCNPhysicsFieldScope { get set }

Discussion

First, define a field’s region using its halfExtent property and the position property of the node containing the field. Then, use the scope property to choose whether the field’s area of effect is the interior of the region (the default) or all space outside the region.

See Also

Specifying a Field’s Area of Effect