Contents

offset

The offset of the field’s center within its area of effect.

Declaration

var offset: SCNVector3 { get set }

Discussion

Some types of fields apply forces whose magnitude is relative to the distance between an object and the field’s center. (For details on each type of field, see the methods listed in Creating Physics Fields.) Changing the offset changes the effects of these field types.

With the default offset vector {0, 0, 0}, the center of a field is the center of its area of effect.

See Also

Specifying a Field’s Area of Effect